mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 06:23:47 +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", 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
|
validators, err := _bor.GetCurrentValidators(sprintSize, spanSize) // check validator set at the first block of new span
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("%s", err)
|
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)
|
// at # sprintSize, events are fetched for the interval [from, (block-sprint).Time)
|
||||||
from := 1
|
from := 0
|
||||||
to := int64(chain.GetHeaderByNumber(0).Time)
|
to := int64(chain.GetHeaderByNumber(0).Time)
|
||||||
page := 1
|
page := 1
|
||||||
query1Params := fmt.Sprintf(clerkQueryParams, from, to, page)
|
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"
|
method := "lastStateId"
|
||||||
data, err := gc.stateReceiverABI.Pack(method)
|
data, err := gc.stateReceiverABI.Pack(method)
|
||||||
if err != nil {
|
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
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue