Add Arachnid's and Micah's deployer to the common contracts (#5519)

This commit is contained in:
Hadrien Croubois
2025-02-21 22:54:43 +01:00
committed by GitHub
parent 930598edfb
commit 3bdc3a35c5

View File

@ -6,6 +6,7 @@ const fs = require('fs');
const path = require('path');
const INSTANCES = {
// Entrypoint v0.7.0
entrypoint: {
address: '0x0000000071727De22E5E9d8BAf0edAc6f37da032',
abi: JSON.parse(fs.readFileSync(path.resolve(__dirname, '../test/bin/EntryPoint070.abi'), 'utf-8')),
@ -16,6 +17,20 @@ const INSTANCES = {
abi: JSON.parse(fs.readFileSync(path.resolve(__dirname, '../test/bin/SenderCreator070.abi'), 'utf-8')),
bytecode: fs.readFileSync(path.resolve(__dirname, '../test/bin/SenderCreator070.bytecode'), 'hex'),
},
// Arachnid's deterministic deployment proxy
// See: https://github.com/Arachnid/deterministic-deployment-proxy/tree/master
arachnidDeployer: {
address: '0x4e59b44847b379578588920cA78FbF26c0B4956C',
abi: [],
bytecode:
'0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3',
},
// Micah's deployer
micahDeployer: {
address: '0x7A0D94F55792C434d74a40883C6ed8545E406D12',
abi: [],
bytecode: '0x60003681823780368234f58015156014578182fd5b80825250506014600cf3',
},
};
task(TASK_TEST_SETUP_TEST_ENVIRONMENT).setAction((_, env, runSuper) =>