feat(tx): add EIP-1559 transaction with priority fee support#1
Conversation
|
@dimxy please tell which rust toolchain version did you use? As I understood you cant expect to format code in the whole project with But if we decide to have workspaces, then we will need to additionally write package in komodefi deps. [dependencies]
ethkey = { git = "https://github.com/dimxy/mm2-parity-ethereum.git", branch = "eip1559-support", package = "ethkey" }
ethcore-transaction = { git = "https://github.com/dimxy/mm2-parity-ethereum.git", branch = "eip1559-support", package = "ethcore-transaction" }PS: yeah, I understand that I have warning related to |
stable-x86_64-apple-darwin (overridden by '/Users/dimxy/repo/mm2-parity-ethereum/rust-toolchain') |
|
UPD: sorry, no need in |
maybe, until we do not move it to our repo, it is worth to fix the toolchain (as this repo has not had any updates for a long time) |
Well if its ok for you. It didnt take much time for me to fix clippy warnings for 1.76.0 stable version locally. As for |
|
If I set it to our "nightly-2022-10-29" I begin to receive that 'patch ring was not used in the crate graph' warning. I guess I did not receive it myself because I had some older default toolchain picked by this lib 'stable' setting. I think this is not good just to use any 'stable' ver and better to fix it to some specific rust ver where this warning does not appear (it would be probably older than ours). |
I see it with 1.76.0 stable version. And sometimes after cargo clean didnt see it, then saw it again. I think it is just there and independent to toolchain version |
|
As I can tell cargo clippy complains about the used version of the 'ring' lib like it is different from the version in cargo.lock or just outdated. In fact this lib is fetched from the parity repo (also cargo.lock looks correct as it points to this repo too). I guess it's not good to just change it to a newer version so I suggest ignoring this warning for now. |
Yep, agree. PS: commit the Cargo.lock please |
shamardy
left a comment
There was a problem hiding this comment.
LGTM apart from a few nits!
added doc comments to tx types
added |


Add typed transactions support for type 1 with EIP-2930 access lists and type 2 of EIP-1559 fee per gas changes