8000 Move the tests that are failing due to a geth upgrade to pending by rojotek · Pull Request #330 · q9f/eth.rb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move the tests that are failing due to a geth upgrade to pending #330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
4 changes: 4 additions & 0 deletions spec/eth/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@

context "when nonce manually set" do
it "raises exception when nonce incorrect" do
pending("https://github.com/q9f/eth.rb/issues/329")
expect {
geth_http.transfer(another_key.address, 69 * Unit::ETHER, legacy: true, nonce: 0)
}.to raise_error(IOError, /nonce too low: next nonce [0-9]+, tx nonce [0-9]+/)
Expand Down Expand Up @@ -190,6 +191,8 @@

context "when nonce manually set" do
it "raises exception when nonce incorrect" do
pending("https://github.com/q9f/eth.rb/issues/329")
fail "failing here so we don't get a timeout. Remove this line to debug the test and expect behaviour."
expect {
geth_http.deploy_and_wait(contract, nonce: 0)
}.to raise_error(IOError, /nonce too low: next nonce [0-9]+, tx nonce [0-9]+/)
Expand Down Expand Up @@ -396,6 +399,7 @@
let(:contract_address) { geth_http.deploy_and_wait(contract) }

it "raises exception when nonce incorrect" do
pending("https://github.com/q9f/eth.rb/issues/329")
expect {
geth_http.transact(contract, "set", 42, address: contract_address, nonce: 0)
}.to raise_error(IOError, /nonce too low: next nonce [0-9]+, tx nonce [0-9]+/)
Expand Down
Loading
0