mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
update bytecode in genesis
This commit is contained in:
parent
3236e423d2
commit
200472dfdc
3 changed files with 7 additions and 7 deletions
|
|
@ -45,7 +45,7 @@ func TestInsertingSpanSizeBlocks(t *testing.T) {
|
|||
}
|
||||
|
||||
assert.True(t, h.AssertCalled(t, "FetchWithRetry", spanPath, ""))
|
||||
assert.True(t, h.AssertCalled(t, "FetchWithRetry", clerkPath, fmt.Sprintf(clerkQueryParams, 1, to, 1)))
|
||||
assert.True(t, h.AssertCalled(t, "FetchWithRetry", clerkPath, fmt.Sprintf(clerkQueryParams, 0, to, 1)))
|
||||
validators, err := _bor.GetCurrentValidators(sprintSize, spanSize) // check validator set at the first block of new span
|
||||
if err != nil {
|
||||
t.Fatalf("%s", err)
|
||||
|
|
@ -96,7 +96,7 @@ func TestFetchStateSyncEvents(t *testing.T) {
|
|||
}
|
||||
|
||||
// at # sprintSize, events are fetched for the interval [from, (block-sprint).Time)
|
||||
from := 1
|
||||
from := 0
|
||||
to := int64(chain.GetHeaderByNumber(0).Time)
|
||||
page := 1
|
||||
query1Params := fmt.Sprintf(clerkQueryParams, from, to, page)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -107,7 +107,7 @@ func (gc *GenesisContractsClient) LastStateId(snapshotNumber uint64) (*big.Int,
|
|||
method := "lastStateId"
|
||||
data, err := gc.stateReceiverABI.Pack(method)
|
||||
if err != nil {
|
||||
log.Error("Unable to pack tx for getLastSyncTime", "error", err)
|
||||
log.Error("Unable to pack tx for LastStateId", "error", err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue