Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretSaturn committed Sep 25, 2024
1 parent e39896e commit 5af85de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions TNLS-Gateways/public-gateway/script/UpgradeScript.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ contract UpgradeScript is Script {

// Deploy New Gateway Logic Contract
newGatewayLogic = new Gateway(address(0x0));
//newGatewayLogic = Gateway(0x59D8C9591dB7179c5d592c5bCD42694021885aFC);
//newGatewayLogic = Gateway(0xE3134d95eBEAb90d08a6eF1e9972fc9F8878FbaA);

transparentProxy = ITransparentUpgradeableProxy(0x874303B788c8A13a39EFA38ab6C3b77cd4578129);
gatewayProxyAdmin = ProxyAdmin(0xd3C10BA03470fbD905046705824DeB047B8aAB54);
transparentProxy = ITransparentUpgradeableProxy(0x8EaAB5e8551781F3E8eb745E7fcc7DAeEFd27b1f);
gatewayProxyAdmin = ProxyAdmin(0xb352D4449dC7355d4478784027d7AfAe69843085);

bytes memory selector = abi.encodeWithSelector(Gateway.upgradeHandler.selector);
gatewayProxyAdmin.upgradeAndCall(transparentProxy, address(newGatewayLogic),selector);
Expand Down
2 changes: 1 addition & 1 deletion TNLS-Relayers/web_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from dotenv import load_dotenv

load_dotenv()
with open(f'{Path(__file__).parent.absolute()}/gateway.json', 'r') as file:
with open(f'{Path(__file__).parent.absolute()}/Gateway.json', 'r') as file:
eth_contract_schema = json.load(file)


Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ colorama==0.4.6
construct==2.10.68
construct-typing==0.5.3
cryptography==40.0.2
cytoolz==0.12.0
cytoolz==0.12.3
decorator==5.1.1
dill==0.3.6
ecdsa==0.16.1
Expand Down Expand Up @@ -92,7 +92,7 @@ netaddr==1.3.0
numpy==2.0.0
orderedmultidict==1.0.1
packaging==24.1
parsimonious==0.8.1
parsimonious==0.9.0
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
Expand Down

0 comments on commit 5af85de

Please sign in to comment.