Skip to content

Commit f564161

Browse files
committed
skip register verification
1 parent c9bb7c1 commit f564161

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fvm/evm/offchain/utils/verify.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/onflow/flow-go/fvm/environment"
1515
"github.com/onflow/flow-go/fvm/evm"
1616
"github.com/onflow/flow-go/fvm/evm/events"
17-
"github.com/onflow/flow-go/fvm/evm/handler"
1817
"github.com/onflow/flow-go/fvm/evm/offchain/blocks"
1918
evmStorage "github.com/onflow/flow-go/fvm/evm/offchain/storage"
2019
"github.com/onflow/flow-go/fvm/evm/offchain/sync"
@@ -58,7 +57,8 @@ func OffchainReplayBackwardCompatibilityTest(
5857

5958
// setup account status at EVM root block
6059
if isEVMRootHeight(chainID, flowStartHeight) {
61-
err = bpStorage.SetValue(rootAddr[:], []byte(flow.AccountStatusKey), environment.NewAccountStatus().ToBytes())
60+
err = bpStorage.SetValue(rootAddr[:], []byte(flow.AccountStatusKey),
61+
environment.NewAccountStatus().ToBytes())
6262
if err != nil {
6363
return err
6464
}
@@ -166,7 +166,6 @@ func OffchainReplayBackwardCompatibilityTest(
166166
}
167167

168168
actualUpdates[k] = v
169-
170169
}
171170

172171
err = verifyRegisterUpdates(expectedUpdates, actualUpdates)
@@ -181,7 +180,8 @@ func OffchainReplayBackwardCompatibilityTest(
181180
}
182181

183182
func verifiableKeys(key flow.RegisterID) bool {
184-
return handler.IsBlockHashListBucketKeyFormat(key) || handler.IsBlockHashListMetaKey(key)
183+
return false
184+
// return handler.IsBlockHashListBucketKeyFormat(key) || handler.IsBlockHashListMetaKey(key)
185185
}
186186

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

0 commit comments

Comments
 (0)