Skip to content

Commit

Permalink
Merge pull request #28 from kaiachain/240930-acclist-schema
Browse files Browse the repository at this point in the history
updated access_list schema
  • Loading branch information
jeongkyun-oh authored Sep 30, 2024
2 parents 6b6024c + 7a575f1 commit 6f4977e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
6 changes: 1 addition & 5 deletions schemas/receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
6 changes: 1 addition & 5 deletions schemas/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down
2 changes: 1 addition & 1 deletion tests/klaytnetl/job/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tests/klaytnetl/service/test_klaytn_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6f4977e

Please sign in to comment.