Skip to content

Commit

Permalink
skip register verification
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchiqing committed Nov 23, 2024
1 parent c9bb7c1 commit f564161
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fvm/evm/offchain/utils/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/onflow/flow-go/fvm/environment"
"github.com/onflow/flow-go/fvm/evm"
"github.com/onflow/flow-go/fvm/evm/events"
"github.com/onflow/flow-go/fvm/evm/handler"
"github.com/onflow/flow-go/fvm/evm/offchain/blocks"
evmStorage "github.com/onflow/flow-go/fvm/evm/offchain/storage"
"github.com/onflow/flow-go/fvm/evm/offchain/sync"
Expand Down Expand Up @@ -58,7 +57,8 @@ func OffchainReplayBackwardCompatibilityTest(

// setup account status at EVM root block
if isEVMRootHeight(chainID, flowStartHeight) {
err = bpStorage.SetValue(rootAddr[:], []byte(flow.AccountStatusKey), environment.NewAccountStatus().ToBytes())
err = bpStorage.SetValue(rootAddr[:], []byte(flow.AccountStatusKey),
environment.NewAccountStatus().ToBytes())
if err != nil {
return err
}
Expand Down Expand Up @@ -166,7 +166,6 @@ func OffchainReplayBackwardCompatibilityTest(
}

actualUpdates[k] = v

}

err = verifyRegisterUpdates(expectedUpdates, actualUpdates)
Expand All @@ -181,7 +180,8 @@ func OffchainReplayBackwardCompatibilityTest(
}

func verifiableKeys(key flow.RegisterID) bool {
return handler.IsBlockHashListBucketKeyFormat(key) || handler.IsBlockHashListMetaKey(key)
return false
// return handler.IsBlockHashListBucketKeyFormat(key) || handler.IsBlockHashListMetaKey(key)
}

func parseEVMEvents(evts flow.EventsList) (*events.BlockEventPayload, []events.TransactionEventPayload, error) {
Expand Down

0 comments on commit f564161

Please sign in to comment.