From 3e96e75ae3484c573d34f09534c1901c67806750 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 2 Dec 2024 06:25:44 +0000 Subject: [PATCH] fix: make bootstrapper --- script/integration/1_DeployBootstrap.s.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/integration/1_DeployBootstrap.s.sol b/script/integration/1_DeployBootstrap.s.sol index 630b0d3..0106414 100644 --- a/script/integration/1_DeployBootstrap.s.sol +++ b/script/integration/1_DeployBootstrap.s.sol @@ -229,10 +229,12 @@ contract DeployContracts is Script { ) ); - // to keep bootstrap address constant, deploy client chain gateway + associated contracts later + // to keep bootstrap address constant, we must keep its nonce unchanged. hence, further transactions are sent + // after the bare minimum bootstrap and associated deployments. // the default deposit params are created using exocapsule address 0x90618D1cDb01bF37c24FC012E70029DA20fCe971 // which is made using the default NST_DEPOSITOR + bootstrap address 0xF801fc13AA08876F343fEBf50dFfA52A78180811 // if you get a DepositDataRoot or related error, check these addresses first. + proxyAdmin.initialize(address(bootstrap)); rewardVaultImplementation = new RewardVault(); rewardVaultBeacon = new UpgradeableBeacon(address(rewardVaultImplementation)); ClientChainGateway clientGatewayLogic =