Skip to content

Commit

Permalink
mainnet config
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Nov 8, 2023
1 parent 5b5b6a6 commit 7a94a58
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 3 deletions.
6 changes: 6 additions & 0 deletions script/input/42161/deploy.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"DAO": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"DEPLOYER": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"ORACLE_OPERATOR": "0x912D7601569cBc2DF8A7f0aaE50BFd18e8C64d05",
"RELAYER_OPERATOR": "0x912D7601569cBc2DF8A7f0aaE50BFd18e8C64d05"
}
15 changes: 15 additions & 0 deletions script/input/42161/fee.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"ORACLE": {
"46": {
"fee": 500000000000
}
},
"RELAYER": {
"46": {
"dstPriceRatio": 12000,
"dstGasPriceInWei": 180000000000,
"baseGas": 85000,
"gasPerByte": 16
}
}
}
3 changes: 3 additions & 0 deletions script/input/42161/oracle.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"44": "0x00000000007317c91F57D86A410934A490E62E1E"
}
6 changes: 6 additions & 0 deletions script/input/46/deploy.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"DAO": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"DEPLOYER": "0x0f14341A7f464320319025540E8Fe48Ad0fe5aec",
"ORACLE_OPERATOR": "0x912D7601569cBc2DF8A7f0aaE50BFd18e8C64d05",
"RELAYER_OPERATOR": "0x912D7601569cBc2DF8A7f0aaE50BFd18e8C64d05"
}
15 changes: 15 additions & 0 deletions script/input/46/fee.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"ORACLE": {
"42161": {
"fee": 500000000000000000000
}
},
"RELAYER": {
"42161": {
"dstPriceRatio": 9000000000000000,
"dstGasPriceInWei": 110000000,
"baseGas": 1,
"gasPerByte": 16
}
}
}
3 changes: 3 additions & 0 deletions script/input/46/oracle.c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"42161": "0x00000000007317c91F57D86A410934A490E62E1E"
}
6 changes: 3 additions & 3 deletions test/bench/ORMP.b.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import "../../src/eco/Relayer.sol";
contract ORMPBenchmarkTest is Test {
using Chains for uint256;

ORMP ormp = ORMP(0x009D223Aad560e72282db9c0438Ef1ef2bf7703D);
Relayer relayer = Relayer(payable(0x003605167cd4C36063a7B63e604497e623Bb8B10));
Oracle oracle = Oracle(payable(0x00BD655DDfA7aFeF4BB109FE1F938724527B49D8));
ORMP ormp = ORMP(0x00000000001523057a05d6293C1e5171eE33eE0A);
Oracle oracle = Oracle(payable(0x0000000000ba03146Cc235509E802873D418a6bc));
Relayer relayer = Relayer(payable(0x0000000000808fE9bDCc1d180EfbF5C53552a6b1));

bytes32 root;
address immutable self = address(this);
Expand Down

0 comments on commit 7a94a58

Please sign in to comment.