Skip to content

Commit

Permalink
bugfixes - l1rpc activated at proper point and precompile address
Browse files Browse the repository at this point in the history
  • Loading branch information
mralj committed Oct 7, 2024
1 parent bdd7b7d commit d409ef8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/geth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ func makeConfigNode(ctx *cli.Context) (*node.Node, gethConfig) {
}
applyMetricConfig(ctx, &cfg)

//[rollup-geth]
activateL1RPCEndpoint(ctx, stack)

return stack, cfg
}

Expand Down Expand Up @@ -251,9 +254,6 @@ func makeFullNode(ctx *cli.Context) *node.Node {
}
}

//[rollup-geth]
activateL1RPCEndpoint(ctx, stack)

return stack
}

Expand Down
2 changes: 1 addition & 1 deletion core/vm/contracts_rollup.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type L1RpcClient interface {
}

var (
rollupL1SloadAddress = common.BytesToAddress([]byte{0x10, 0x01})
rollupL1SloadAddress = common.BytesToAddress([]byte{0x01, 0x01})
precompiledContractsRollupR0 = PrecompiledContracts{
rollupL1SloadAddress: &L1SLoad{},
}
Expand Down

0 comments on commit d409ef8

Please sign in to comment.