From 930faf2040c90fbbaf20938b23600811f85e66a0 Mon Sep 17 00:00:00 2001 From: Huy Ngo Date: Mon, 3 Jul 2023 16:19:34 +0700 Subject: [PATCH 1/2] Update --- .github/workflows/python.yml | 3 +++ .../history/management/commands/setup_service.py | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 9b9d1a823..ba626d7c6 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,6 +5,9 @@ on: - master - develop pull_request: + branches: + - develop + release: types: [ released ] diff --git a/safe_transaction_service/history/management/commands/setup_service.py b/safe_transaction_service/history/management/commands/setup_service.py index dd8fe2e16..f6f004ecb 100644 --- a/safe_transaction_service/history/management/commands/setup_service.py +++ b/safe_transaction_service/history/management/commands/setup_service.py @@ -15,12 +15,12 @@ # Overwrite Keys for Master Copies and Proxy Factories for Ronin Testnet and Mainnet. MASTER_COPIES[EthereumNetwork.PUBLICMINT_MAINNET] = [ - ("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 7938928, "1.3.0+L2"), + ("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 7938928, "1.3.0"), ("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 7938928, "1.3.0"), ] MASTER_COPIES[EthereumNetwork.EDGEWARE_MAINNET] = [ - ("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 807_225, "1.3.0+L2"), + ("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 807_225, "1.3.0"), ("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 807_225, "1.3.0"), ] @@ -216,6 +216,9 @@ def handle(self, *args, **options): self.stdout.write( self.style.SUCCESS(f"Setting up {ethereum_network.name} safe addresses") ) + self.stdout.write( + MASTER_COPIES[ethereum_network] + ) self._setup_safe_master_copies(MASTER_COPIES[ethereum_network]) self._setup_erc20_indexing() if ethereum_network in PROXY_FACTORIES: @@ -224,6 +227,9 @@ def handle(self, *args, **options): f"Setting up {ethereum_network.name} proxy factory addresses" ) ) + self.stdout.write( + PROXY_FACTORIES[ethereum_network] + ) self._setup_safe_proxy_factories(PROXY_FACTORIES[ethereum_network]) if not ( From 51b528a24bffb94120c0fcb5b6c69a6efea7b97a Mon Sep 17 00:00:00 2001 From: Huy Ngo Date: Mon, 3 Jul 2023 16:24:01 +0700 Subject: [PATCH 2/2] update --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ba626d7c6..867d5fb7e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -6,7 +6,7 @@ on: - develop pull_request: branches: - - develop + - development release: types: [ released ]