When setting transaction type to 2, which should according to PR #533 use EIP-1559, I'm still sending a legacy contract interaction. I was however able to send EIP-1559 transactions just fine.
Perhaps a misunderstanding
Is this the fault of the contract? I'm new to this in general, so maybe I misunderstand, but I would expect that the client is responsible for sending the contract interaction and therefore it shouldn't be my test smart contract causing the issue? If I'm mistaken, I hope someone else can at least learn from this issue at some point.
Possible duplicates
I did find issue #542 but the solution is not clear.
Problem
When setting transaction type to 2, which should according to PR #533 use EIP-1559, I'm still sending a legacy contract interaction. I was however able to send EIP-1559 transactions just fine.
Perhaps a misunderstanding
Is this the fault of the contract? I'm new to this in general, so maybe I misunderstand, but I would expect that the client is responsible for sending the contract interaction and therefore it shouldn't be my test smart contract causing the issue? If I'm mistaken, I hope someone else can at least learn from this issue at some point.
Possible duplicates
I did find issue #542 but the solution is not clear.
Setup
I'm using revision e81265bb4a3f40a5ac2d60bd2f57f0fce0b5af76 because PR #591 seems to have created a conflict with tokio.cargo update
to the rescueTo be precise:
web3 = { git = "https://github.com/tomusdrw/rust-web3", features = ["default"] }
I have tried playing around with feature flags, maybe I missed something, but couldn't get it to work.
I'm testing using an NFT project on the rinkeby testnet created with this guide. You can view mine here.
Code