From 31b14095b344fdfa68aee17c3844c5e4ae7d11c4 Mon Sep 17 00:00:00 2001 From: dudong2 Date: Fri, 26 Jan 2024 17:15:02 +0900 Subject: [PATCH] test: fix python lint, gomod2nix --- gomod2nix.toml | 9 +++++++++ tests/integration_tests/test_pruned_node.py | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gomod2nix.toml b/gomod2nix.toml index 04d200d8a5..051290ddcc 100644 --- a/gomod2nix.toml +++ b/gomod2nix.toml @@ -47,6 +47,9 @@ schema = 3 [mod."cosmossdk.io/store"] version = "v1.0.0" hash = "sha256-AtMupjuK3ccb/GTtxa+NBTufvLjiGljb2RAxuDLkFaw=" + [mod."cosmossdk.io/tools/confix"] + version = "v0.1.0" + hash = "sha256-PvIYbcjsATI+gP0+efJZjlGhaClx4SNfadlVY3Ok9TE=" [mod."cosmossdk.io/x/circuit"] version = "v0.1.0" hash = "sha256-yTy3jmjWin+imBvgGeJix4SE818/4fQjKgSUYZNiNnw=" @@ -189,6 +192,12 @@ schema = 3 [mod."github.com/cosmos/rosetta-sdk-go"] version = "v0.10.0" hash = "sha256-WmLq9E9mYV+ms6Tdb43lCoAy6cowkDnK4bvX/ApDzLY=" + [mod."github.com/creachadair/atomicfile"] + version = "v0.3.1" + hash = "sha256-GEp1gRxKfBYI6K0XbElcVYcJMPu6eeLufaYxr7Z0MAQ=" + [mod."github.com/creachadair/tomledit"] + version = "v0.0.24" + hash = "sha256-4vUukHONOjNn0qfQr4esK6TWfPWsIp+rbdz65og84lw=" [mod."github.com/danieljoos/wincred"] version = "v1.2.0" hash = "sha256-LHcvTJCc8++bFndbd8ZgMSTe4L5h2C4rN+cSWHCz54Y=" diff --git a/tests/integration_tests/test_pruned_node.py b/tests/integration_tests/test_pruned_node.py index fe3b674078..a3374ae6c6 100644 --- a/tests/integration_tests/test_pruned_node.py +++ b/tests/integration_tests/test_pruned_node.py @@ -1,7 +1,6 @@ from pathlib import Path import pytest -import re from eth_bloom import BloomFilter from eth_utils import abi, big_endian_to_int from hexbytes import HexBytes @@ -79,7 +78,7 @@ def test_pruned_node(pruned): ) assert "error" in pruned_res assert ( - "Version has either been pruned, or is for a future block height" in + "Version has either been pruned, or is for a future block height" in pruned_res["error"]["message"] )