Skip to content

Commit

Permalink
Mainnet Setting for ETH Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretSaturn committed Aug 5, 2024
1 parent aa04745 commit f6e5870
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions TNLS-Gateways/public-gateway/script/UpgradeScript.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ contract UpgradeScript is Script {
newGatewayLogic = new Gateway();
//newGatewayLogic = Gateway(0x59D8C9591dB7179c5d592c5bCD42694021885aFC);

transparentProxy = ITransparentUpgradeableProxy(0x59D8C9591dB7179c5d592c5bCD42694021885aFC);
gatewayProxyAdmin = ProxyAdmin(0x11791a1D6Ade2A398f186Efa6992AdA12F9f87b4);
transparentProxy = ITransparentUpgradeableProxy(0xfaFCfceC4e29e9b4ECc8C0a3f7df1011580EEEf2);
gatewayProxyAdmin = ProxyAdmin(0xdDC6d94d9f9FBb0524f069882d7C98241040472E);

bytes memory selector = abi.encodeWithSelector(Gateway.upgradeHandler.selector);
gatewayProxyAdmin.upgradeAndCall(transparentProxy, address(newGatewayLogic),selector);
Expand Down
12 changes: 6 additions & 6 deletions TNLS-Gateways/public-gateway/src/Gateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -345,14 +345,14 @@ contract Gateway is Initializable, OwnableUpgradeable {
//Core Routing
bytes32 immutable chain_id_1; bytes32 immutable chain_id_2;
bytes32 immutable chain_id_3; uint256 immutable chain_id_length;
//string constant public task_destination_network = "secret-4";
//address constant public secret_gateway_signer_address = 0x88e43F4016f8282Ea6235aC069D02BA1cE5417aB;
string constant public task_destination_network = "pulsar-3";
address constant public secret_gateway_signer_address = 0x2821E794B01ABF0cE2DA0ca171A1fAc68FaDCa06;
string constant public task_destination_network = "secret-4";
address constant public secret_gateway_signer_address = 0x88e43F4016f8282Ea6235aC069D02BA1cE5417aB;
//string constant public task_destination_network = "pulsar-3";
//address constant public secret_gateway_signer_address = 0x2821E794B01ABF0cE2DA0ca171A1fAc68FaDCa06;

//Secret VRF additions
//string constant public VRF_routing_info = "secret16pcjalfuy72r4k26r4kn5f5x64ruzv30knflwx";
string constant public VRF_routing_info = "secret1fxs74g8tltrngq3utldtxu9yys5tje8dzdvghr";
string constant public VRF_routing_info = "secret16pcjalfuy72r4k26r4kn5f5x64ruzv30knflwx";
//string constant public VRF_routing_info = "secret1fxs74g8tltrngq3utldtxu9yys5tje8dzdvghr";

string constant public VRF_routing_code_hash = "49ffed0df451622ac1865710380c14d4af98dca2d32342bb20f2b22faca3d00d";
bytes constant VRF_info = abi.encodePacked('}","routing_info":"',VRF_routing_info,'","routing_code_hash":"',VRF_routing_code_hash,'","user_address":"0x0000","user_key":"AAA=","callback_address":"');
Expand Down

0 comments on commit f6e5870

Please sign in to comment.