-
In most places I see the DepositContract address is hardcoded. Is there a field name in chainspec that can set the address, block, topic in the ChainSpec? I tried |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
there is, the from genesis impl does this: reth/crates/chainspec/src/spec.rs Lines 650 to 653 in f034bf2 and initializes the field on chainspec: reth/crates/chainspec/src/spec.rs Line 660 in f034bf2 or for statics: reth/crates/chainspec/src/spec.rs Lines 43 to 48 in f034bf2 |
Beta Was this translation helpful? Give feedback.
-
that's super helpful, thanks |
Beta Was this translation helpful? Give feedback.
there is, the from genesis impl does this:
reth/crates/chainspec/src/spec.rs
Lines 650 to 653 in f034bf2
and initializes the field on chainspec:
reth/crates/chainspec/src/spec.rs
Line 660 in f034bf2
or for statics:
reth/crates/chainspec/src/spec.rs
Lines 43 to 48 in f034bf2