Skip to content

Commit 4e84e9e

Browse files
authored
Add Scroll support (#103)
1 parent b8404bf commit 4e84e9e

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

chainbench/test_data/evm.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,33 @@ def get_random_contract(self, rng: RNG) -> Erc20Contract:
364364
"0xbf65bfcb5da067446CeE6A706ba3Fe2fB1a9fdFd",
365365
],
366366
},
367+
534352: {
368+
"name": "scroll-mainnet",
369+
"start_block": 1,
370+
"contract_addresses": [
371+
"0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
372+
"0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4",
373+
"0xf610A9dfB7C89644979b4A0f27063E9e7d7Cda32",
374+
"0x3C1BCa5a656e69edCD0D4E36BEbb3FcDAcA60Cf1",
375+
"0xcA77eB3fEFe3725Dc33bccB54eDEFc3D9f764f97",
376+
"0x434cdA25E8a2CA5D9c1C449a8Cb6bCbF719233E8",
377+
"0x01f0a31698C4d065659b9bdC21B3610292a1c506",
378+
"0x79379C0E09a41d7978f883a56246290eE9a8c4d3",
379+
"0x53878B874283351D26d206FA512aEcE1Bef6C0dD",
380+
"0x1b896893dfc86bb67Cf57767298b9073D2c1bA2c",
381+
],
382+
},
383+
534351: {
384+
"name": "scroll-sepolia-testnet",
385+
"start_block": 1,
386+
"contract_addresses": [
387+
"0x5300000000000000000000000000000000000004",
388+
"0xD9692f1748aFEe00FACE2da35242417dd05a8615",
389+
"0x231d45b53C905c3d6201318156BDC725c9c3B9B1",
390+
"0x6D5871D41F9c38BBa419D28b001260fC9c7071Ba",
391+
"0x186C0C26c45A8DA1Da34339ee513624a9609156d",
392+
],
393+
},
367394
# TODO: Move StarkNet out of EVMNetwork
368395
23448594291968334: {
369396
"name": "starknet-mainnet",

chainbench/user/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def check_http_error(self, response: ResponseContextManager) -> None:
6565

6666
"""Check the response for errors."""
6767
if response.status_code != 200:
68-
self.logger.info(f"Request failed with {response.status_code} code")
68+
self.logger.error(f"Request failed with {response.status_code} code")
6969
self.logger.debug(
7070
f"Request to {response.url} failed with HTTP Error {response.status_code} code: {response.text}"
7171
)

0 commit comments

Comments
 (0)