Skip to content

Commit 56a594c

Browse files
committed
resolve
1 parent 9fa327b commit 56a594c

File tree

11 files changed

+160
-160
lines changed

11 files changed

+160
-160
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/sources.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@
3636
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737
},
3838
"nixpkgs": {
39-
"branch": "release-24.05",
39+
"branch": "release-24.11",
4040
"description": "Nix Packages collection",
4141
"homepage": "",
4242
"owner": "NixOS",
4343
"repo": "nixpkgs",
44-
"rev": "50286248f2d7283682bdd47ba14af33a9233b88b",
45-
"sha256": "19sqfs6pamknhlg3mqpqs3wj0wj1ynj5icfmhqmjjvq08byfc2hl",
44+
"rev": "112c247873ba67732a9dd2563cb3d7b7749a82df",
45+
"sha256": "00ghsa6842lkd0c0k0ln6531inq03y4m0nphczwnhf5n9g72sddh",
4646
"type": "tarball",
47-
"url": "https://github.com/NixOS/nixpkgs/archive/50286248f2d7283682bdd47ba14af33a9233b88b.tar.gz",
47+
"url": "https://github.com/NixOS/nixpkgs/archive/112c247873ba67732a9dd2563cb3d7b7749a82df.tar.gz",
4848
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
4949
},
5050
"poetry2nix": {
@@ -53,10 +53,10 @@
5353
"homepage": "",
5454
"owner": "nix-community",
5555
"repo": "poetry2nix",
56-
"rev": "29b2641c1c6e67d836f9a9fda8a6de85be9644ac",
57-
"sha256": "164qi61dxw3y345bkdpiwxrk7cql7pf6kay2xi9y751ypssrji4m",
56+
"rev": "d90f9db68a4bda31c346be16dfd8d3263be4547e",
57+
"sha256": "0yfg51z8giwapc4kxxcrh47xr0zppwxiwaj7iyy6qsfd3a9649yz",
5858
"type": "tarball",
59-
"url": "https://github.com/nix-community/poetry2nix/archive/29b2641c1c6e67d836f9a9fda8a6de85be9644ac.tar.gz",
59+
"url": "https://github.com/nix-community/poetry2nix/archive/d90f9db68a4bda31c346be16dfd8d3263be4547e.tar.gz",
6060
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
6161
},
6262
"flake-compat": {

nix/testenv.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,23 @@ poetry2nix.mkPoetryEnv {
66
let
77
buildSystems = {
88
pystarport = [ "poetry-core" ];
9-
cprotobuf = [ "setuptools" ];
9+
cprotobuf = [
10+
"setuptools"
11+
"poetry-core"
12+
];
1013
durations = [ "setuptools" ];
1114
multitail2 = [ "setuptools" ];
1215
pytest-github-actions-annotate-failures = [ "setuptools" ];
1316
flake8-black = [ "setuptools" ];
1417
flake8-isort = [ "hatchling" ];
1518
pyunormalize = [ "setuptools" ];
1619
eth-bloom = [ "setuptools" ];
17-
ckzg = ["setuptools"];
18-
aiohappyeyeballs = ["poetry-core"];
20+
isort = [ "poetry-core" ];
21+
typing-inspection = [ "hatchling" ];
22+
docker = [
23+
"hatchling"
24+
"hatch-vcs"
25+
];
1926
};
2027
in
2128
lib.mapAttrs

tests/integration_tests/poetry.lock

Lines changed: 121 additions & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration_tests/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ eth-account = "^0.13.4"
3131
pyyaml = "^6.0.2rc1"
3232

3333
[tool.poetry.dev-dependencies]
34+
attrs = "24.2.0"
35+
referencing = "v0.35.1"
36+
rpds-py = "v0.22.3"
3437
aiohappyeyeballs = "2.4.4"
38+
typing-extensions = "4.12.2"
39+
termcolor = "2.5.0"
3540

3641
[build-system]
3742
requires = ["poetry-core>=1.0.0"]

tests/integration_tests/test_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ def test_call(ethermint):
88
w3_wait_for_new_blocks(w3, 1)
99
res = contract.caller.getBlockHash(height).hex()
1010
blk = w3.eth.get_block(height)
11-
assert f"0x{res}" == blk.hash.hex(), res
11+
assert res == blk.hash.hex(), res

tests/integration_tests/test_debug_traceblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_traceblock(ethermint):
3434
"nonce": nonce + n,
3535
}
3636
signed = sign_transaction(w3, tx, acc.key)
37-
txhash = w3.eth.send_raw_transaction(signed.rawTransaction)
37+
txhash = w3.eth.send_raw_transaction(signed.raw_transaction)
3838
txhashes.append(txhash)
3939
for txhash in txhashes[0 : total - 1]:
4040
res = w3.eth.wait_for_transaction_receipt(txhash)

tests/integration_tests/test_priority.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_priority(ethermint):
113113
signed = [sign_transaction(w3, tx, key=KEYS[sender]) for sender, tx in test_cases]
114114
# send the txs from low priority to high,
115115
# but the later sent txs should be included earlier.
116-
txhashes = [w3.eth.send_raw_transaction(tx.rawTransaction) for tx in signed]
116+
txhashes = [w3.eth.send_raw_transaction(tx.raw_transaction) for tx in signed]
117117

118118
receipts = [w3.eth.wait_for_transaction_receipt(txhash) for txhash in txhashes]
119119
print(receipts)

tests/integration_tests/test_pruned_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_pruned_node(pruned):
4343
{"from": ADDRS["validator"]}
4444
)
4545
signed = sign_transaction(w3, tx, KEYS["validator"])
46-
txhash = w3.eth.send_raw_transaction(signed.rawTransaction)
46+
txhash = w3.eth.send_raw_transaction(signed.raw_transaction)
4747
print("wait for prunning happens")
4848
w3_wait_for_new_blocks(w3, 15)
4949

tests/integration_tests/test_tracers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ def test_trace_tx_reverse_transfer(ethermint):
179179
"nonce": nonce,
180180
}
181181
)
182-
raw_transactions.append(sign_transaction(w3, tx, acc.key).rawTransaction)
182+
raw_transactions.append(sign_transaction(w3, tx, acc.key).raw_transaction)
183183
tx = tx | {"nonce": nonce + 1}
184-
raw_transactions.append(sign_transaction(w3, tx, acc.key).rawTransaction)
184+
raw_transactions.append(sign_transaction(w3, tx, acc.key).raw_transaction)
185185
w3_wait_for_new_blocks(w3, 1)
186186
sended_hash_set = send_raw_transactions(w3, raw_transactions)
187187
for h in sended_hash_set:
@@ -225,7 +225,7 @@ def test_destruct(ethermint):
225225
}
226226
)
227227
)
228-
raw_transactions.append(sign_transaction(w3, tx, acc.key).rawTransaction)
228+
raw_transactions.append(sign_transaction(w3, tx, acc.key).raw_transaction)
229229
nonce += 1
230230
sended_hash_set = send_raw_transactions(w3, raw_transactions)
231231

0 commit comments

Comments
 (0)