mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
This moves to Rust 1.86 as were prior on Rust 1.81, and the new alloy dependencies require 1.82. The revm API changes were notable for us. Instead of relying on a modified call instruction (with deep introspection into the EVM design), we now use the more recent and now more prominent Inspector API. This: 1) Lets us perform far less introspection 2) Forces us to rewrite the gas estimation code we just had audited Thankfully, it itself should be much easier to read/review, and our existing test suite has extensively validated it. This resolves 001 which was a concern for if/when this upgrade occurs. By doing it now, with a dedicated test case ensuring the issue we would have had with alloy-core 0.8 and `validate=false` isn't actively an issue, we resolve it.
27 lines
881 B
TOML
27 lines
881 B
TOML
[package]
|
|
name = "serai-processor-ethereum-primitives"
|
|
version = "0.1.0"
|
|
description = "Primitives for Serai's Ethereum Processor"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/processor/ethereum/primitives"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
publish = false
|
|
rust-version = "1.81"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
borsh = { version = "1", default-features = false, features = ["std", "derive", "de_strict_order"] }
|
|
|
|
group = { version = "0.13", default-features = false }
|
|
k256 = { version = "^0.13.1", default-features = false, features = ["std", "arithmetic"] }
|
|
|
|
alloy-primitives = { version = "1", default-features = false }
|
|
alloy-consensus = { version = "0.14", default-features = false, features = ["k256"] }
|