Skip to content

Commit e043bc3

Browse files
marino39claude
andcommitted
contracts: include deployed (runtime) bytecode in v3 Stage7702Module binding
Add --includeDeployedBin to the walletstage7702 abigen directive and wire WalletStage7702DeployedBin into V3.WalletStage7702Module so the runtime bytecode is available (needed for EIP-7702 delegated-code verification). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 9fc544f commit e043bc3

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

contracts/contracts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func init() {
125125
V3.WalletFactory = artifact("WALLET_FACTORY", v3Factory.WalletFactoryABI, v3Factory.WalletFactoryBin)
126126
V3.WalletStage1Module = artifact("WALLET_STAGE_1", v3Stage1.WalletStage1ABI, v3Stage1.WalletStage1Bin)
127127
V3.WalletStage2Module = artifact("WALLET_STAGE_2", v3Stage2.WalletStage2ABI, v3Stage2.WalletStage2Bin)
128-
V3.WalletStage7702Module = artifact("WALLET_STAGE_7702", v3Stage7702.WalletStage7702ABI, v3Stage7702.WalletStage7702Bin)
128+
V3.WalletStage7702Module = artifact("WALLET_STAGE_7702", v3Stage7702.WalletStage7702ABI, v3Stage7702.WalletStage7702Bin, v3Stage7702.WalletStage7702DeployedBin)
129129
V3.WalletGuestModule = artifact("WALLET_GUEST", v3Guest.WalletGuestABI, v3Guest.WalletGuestBin)
130130
V3.WalletEstimator = artifact("WALLET_ESTIMATOR", v3Estimator.WalletEstimatorABI, v3Estimator.WalletEstimatorBin, v3Estimator.WalletEstimatorDeployedBin)
131131
V3.WalletSimulator = artifact("WALLET_SIMULATOR", v3Simulator.WalletSimulatorABI, v3Simulator.WalletSimulatorBin, v3Simulator.WalletSimulatorDeployedBin)

contracts/gen/gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=walletfactory --type=WalletFactory --outFile=./v3/walletfactory/wallet_factory.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Factory.sol/Factory.json
3131
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=walletstage1 --type=WalletStage1 --outFile=./v3/walletstage1/wallet_stage1.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Stage1Module.sol/Stage1Module.json
3232
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=walletstage2 --type=WalletStage2 --outFile=./v3/walletstage2/wallet_stage2.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Stage2Module.sol/Stage2Module.json
33-
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=walletstage7702 --type=WalletStage7702 --outFile=./v3/walletstage7702/wallet_stage7702.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Stage7702Module.sol/Stage7702Module.json
33+
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=walletstage7702 --type=WalletStage7702 --outFile=./v3/walletstage7702/wallet_stage7702.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Stage7702Module.sol/Stage7702Module.json --includeDeployedBin
3434
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=walletguest --type=WalletGuest --outFile=./v3/walletguest/wallet_guest.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Guest.sol/Guest.json
3535

3636
//go:generate go run github.com/0xsequence/ethkit/cmd/ethkit abigen --pkg=passkeys --type=Passkeys --outFile=./v3/passkeys/passkeys.gen.go --artifactsFile=../artifacts/wallet-contracts-v3/Passkeys.sol/Passkeys.json

0 commit comments

Comments
 (0)