Skip to content

Commit d010043

Browse files
committed
fix: lint
1 parent 244cda0 commit d010043

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

packages/examples/cvat/exchange-oracle/src/core/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class PolygonAmoyConfig(_NetworkConfig):
9595
private_key = getenv("POLYGON_AMOY_PRIVATE_KEY")
9696
addr = getenv("POLYGON_AMOY_ADDR")
9797

98+
9899
class AuroraTestnetConfig(_NetworkConfig):
99100
chain_id = 1313161555
100101
rpc_api = getenv("AURORA_TESTNET_RPC_API_URL")

packages/examples/cvat/exchange-oracle/tests/integration/chain/test_web3.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class AuroraTestnetConfig:
6060
w3 = get_web3(ChainId.AURORA_TESTNET.value)
6161
assert isinstance(w3, Web3)
6262
assert w3.eth.default_account == DEFAULT_GAS_PAYER
63-
assert w3.manager._provider.endpoint_uri == AuroraTestnetConfig.rpc_api
63+
assert w3.manager._provider.endpoint_uri == AuroraTestnetConfig.rpc_api
6464

6565
def test_get_web3_localhost(self):
6666
w3 = get_web3(ChainId.LOCALHOST.value)
@@ -101,7 +101,9 @@ def test_sign_message_aurora_tesnet(self):
101101
DEFAULT_GAS_PAYER_PRIV,
102102
):
103103
mock_function.return_value = self.w3
104-
signature, serialized_message = sign_message(ChainId.AURORA_TESTNET.value, "message")
104+
signature, serialized_message = sign_message(
105+
ChainId.AURORA_TESTNET.value, "message"
106+
)
105107
assert signature == SIGNATURE
106108
assert serialized_message == json.dumps("message")
107109

packages/examples/cvat/recording-oracle/tests/integration/chain/test_web3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class PolygonAmoyConfig:
4848
assert isinstance(w3, Web3)
4949
assert w3.eth.default_account == DEFAULT_GAS_PAYER
5050
assert w3.manager._provider.endpoint_uri == PolygonAmoyConfig.rpc_api
51-
51+
5252
def test_get_web3_aurora_testnet(self):
5353
class AuroraTestnetConfig:
5454
chain_id = 1313161555
@@ -59,7 +59,7 @@ class AuroraTestnetConfig:
5959
w3 = get_web3(ChainId.AURORA_TESTNET.value)
6060
assert isinstance(w3, Web3)
6161
assert w3.eth.default_account == DEFAULT_GAS_PAYER
62-
assert w3.manager._provider.endpoint_uri == AuroraTestnetConfig.rpc_api
62+
assert w3.manager._provider.endpoint_uri == AuroraTestnetConfig.rpc_api
6363

6464
def test_get_web3_localhost(self):
6565
w3 = get_web3(ChainId.LOCALHOST.value)

0 commit comments

Comments
 (0)