Skip to content

Commit a9e9004

Browse files
committed
fix spork heights
1 parent 3fcd792 commit a9e9004

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/util/cmd/verify-evm-offchain-replay/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222

2323
// usage example
2424
//
25-
// ./util verify-evm-offchain-replay --chain flow-testnet --from_to 211176671-211177000
25+
// ./util verify-evm-offchain-replay --chain flow-testnet --from_to 211176670-211177000
2626
// --datadir /var/flow/data/protocol --execution_data_dir /var/flow/data/execution_data
2727
var Cmd = &cobra.Command{
2828
Use: "verify-evm-offchain-replay",

fvm/evm/offchain/utils/verify.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ import (
2424
// EVM Root Height is the first block that has EVM Block Event where the EVM block height is 1
2525
func IsEVMRootHeight(chainID flow.ChainID, flowHeight uint64) bool {
2626
if chainID == flow.Testnet {
27-
return flowHeight == 211176671
27+
return flowHeight == 211176670
2828
} else if chainID == flow.Mainnet {
29-
return flowHeight == 85981136
29+
return flowHeight == 85981135
3030
}
3131
return flowHeight == 1
3232
}

0 commit comments

Comments
 (0)