Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement EIP-7685 and EIP-6110 #10238

Merged
merged 18 commits into from
May 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert a couple of test changes
yperbasis committed May 14, 2024
commit 78fc13db0971ab212f988f8a848ae6a75d7446cc
10 changes: 5 additions & 5 deletions core/types/encdec_test.go
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ import (
"github.com/ledgerwatch/erigon/rlp"
)

const RUNS = 2 // for local tests increase this number
const RUNS = 100 // for local tests increase this number

type TRand struct {
rnd *rand.Rand
@@ -238,10 +238,10 @@ func (tr *TRand) RandRequests(size int) []*Request {

func (tr *TRand) RandRawBody() *RawBody {
return &RawBody{
// Transactions: tr.RandRawTransactions(tr.RandIntInRange(1, 6)),
Uncles: tr.RandHeaders(tr.RandIntInRange(1, 6)),
Withdrawals: tr.RandWithdrawals(tr.RandIntInRange(1, 6)),
Requests: tr.RandRequests(tr.RandIntInRange(1, 6)),
Transactions: tr.RandRawTransactions(tr.RandIntInRange(1, 6)),
Uncles: tr.RandHeaders(tr.RandIntInRange(1, 6)),
Withdrawals: tr.RandWithdrawals(tr.RandIntInRange(1, 6)),
Requests: tr.RandRequests(tr.RandIntInRange(1, 6)),
}
}