diff --git a/schemas/receipts.py b/schemas/receipts.py index 81434c4..89a1cf1 100644 --- a/schemas/receipts.py +++ b/schemas/receipts.py @@ -194,11 +194,7 @@ "mode": "REPEATED", "fields": [ {"name": "address", "type": "STRING"}, - { - "name": "storage_keys", - "type": "STRUCT", - "fields": [{"name": "hash", "type": "STRING"}], - }, + {"name": "storage_keys", "type": "STRING", "mode": "REPEATED"}, ], "description": "An array of accessList", }, diff --git a/schemas/transactions.py b/schemas/transactions.py index 3630199..cfd9811 100644 --- a/schemas/transactions.py +++ b/schemas/transactions.py @@ -165,11 +165,7 @@ "mode": "REPEATED", "fields": [ {"name": "address", "type": "STRING"}, - { - "name": "storage_keys", - "type": "STRUCT", - "fields": [{"name": "hash", "type": "STRING"}], - }, + {"name": "storage_keys", "type": "STRING", "mode": "REPEATED"}, ], "description": "An array of accessList", }, diff --git a/tests/klaytnetl/job/helpers.py b/tests/klaytnetl/job/helpers.py index c557938..cb33856 100644 --- a/tests/klaytnetl/job/helpers.py +++ b/tests/klaytnetl/job/helpers.py @@ -45,7 +45,7 @@ def get_web3_provider(provider_type, read_resource_lambda=None, batch=False): provider = MockWeb3Provider(read_resource_lambda) elif provider_type == "fantrie": provider_url = os.environ.get( - "PROVIDER_URL", "https://cypress.fandom.finance/archive" + "PROVIDER_URL", "https://archive-en.node.kaia.io" ) if batch: provider = BatchHTTPProvider(provider_url) diff --git a/tests/klaytnetl/service/test_klaytn_service.py b/tests/klaytnetl/service/test_klaytn_service.py index 884c4ac..d34718b 100644 --- a/tests/klaytnetl/service/test_klaytn_service.py +++ b/tests/klaytnetl/service/test_klaytn_service.py @@ -83,7 +83,7 @@ def test_get_block_range_for_timestamps( def get_new_klaytn_service(): provider_url = os.environ.get( - "PROVIDER_URL", "https://cypress.fandom.finance/archive" + "PROVIDER_URL", "https://archive-en.node.kaia.io" ) web3 = build_web3(HTTPProvider(provider_url)) return KlaytnService(web3)