Skip to content

Fix undefined method `raise_error' for an instance of Eth::Tx::Eip1559 (NoMethodError)#282

Merged
q9f merged 2 commits intoq9f:mainfrom
0xFacet:patch-1
Jul 1, 2024
Merged

Fix undefined method `raise_error' for an instance of Eth::Tx::Eip1559 (NoMethodError)#282
q9f merged 2 commits intoq9f:mainfrom
0xFacet:patch-1

Conversation

@RogerPodacter
Copy link
Contributor

I think the line raise_error DecoderError, "Cannot decode EIP-2930 payload!" was intended to be raise DecoderError, "Cannot decode EIP-2930 payload!" but didn't make it due to an accidental copy-paste from rspec.

raise_error isn't defined anywhere in the project and so this line currently doesn't work. Switching to raise will make it work as expected.

Copy link
Owner

@q9f q9f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct ^^

ref #39

@q9f q9f merged commit 4182fa7 into q9f:main Jul 1, 2024
@RogerPodacter RogerPodacter deleted the patch-1 branch July 8, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants