mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-31 17:13:57 +00:00
change hardcoded whitelistaddr + change deployer acct + docs
This commit is contained in:
parent
0977c3e1d9
commit
ff02b23781
3 changed files with 7 additions and 4 deletions
|
|
@ -78,8 +78,8 @@ func (c *mint) RequiredGas(input []byte) uint64 {
|
|||
}
|
||||
|
||||
// Predetermined create2 address of whitelist contract with exclusive mint/burn privileges.
|
||||
// See: https://github.com/primevprotocol/contracts/blob/ecfd53d43770201da9c7a697be1fb03e5e554e4e/scripts/DeployScripts.s.sol
|
||||
const whitelistCreate2Addr = "0xc5bB85F941fb8dbbed6416A8aC84A06226E0f138"
|
||||
// This address assumes deployer is 0xBcA333b67fb805aB18B4Eb7aa5a0B09aB25E5ce2.
|
||||
const whitelistCreate2Addr = "0xaE476470bfc00B8a0e8531133bE621e87a981ec8"
|
||||
|
||||
func (c *mint) Run(input []byte, ctx *precompileContext) ([]byte, error) {
|
||||
|
||||
|
|
|
|||
|
|
@ -14,11 +14,11 @@ All relevant accounts are funded on sidechain genesis, you may need to fund thes
|
|||
|
||||
## Contract deployer
|
||||
|
||||
Address: `0xBe3dEF3973584FdcC1326634aF188f0d9772D57D`
|
||||
Address: `0xBcA333b67fb805aB18B4Eb7aa5a0B09aB25E5ce2`
|
||||
|
||||
Note if the relayer is emitting errors related to unexpected contract routing, try using a new deployer key pair. It's likely that the current bridge contract deployments are clashing with previous deployments.
|
||||
|
||||
You'd need to replace `Address` above, the allocs field of `genesis.json`, the `CONTRACT_DEPLOYER_PRIVATE_KEY` in `.env`, and the hardcoded whitelist contract addr in HypERC20.sol.
|
||||
You'd need to replace `Address` above, the allocs field of `genesis.json`, the `CONTRACT_DEPLOYER_PRIVATE_KEY` in `.env`, the hardcoded whitelist contract addr in HypERC20.sol, and the hardcoded whitelist contract addr in contracts_with_ctx.go.
|
||||
|
||||
## Validator Accounts (also POA signers)
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@
|
|||
},
|
||||
"0x3fab184622dc19b6109349b94811493bf2a45362": {
|
||||
"balance": "10000000000000000000000000000"
|
||||
},
|
||||
"0xBcA333b67fb805aB18B4Eb7aa5a0B09aB25E5ce2": {
|
||||
"balance": "10000000000000000000000000000"
|
||||
}
|
||||
},
|
||||
"number": "0x0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue