mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49: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.
30 lines
834 B
TOML
30 lines
834 B
TOML
[package]
|
|
name = "alloy-simple-request-transport"
|
|
version = "0.1.1"
|
|
description = "A transport for alloy based off simple-request"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/networks/ethereum/alloy-simple-request-transport"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.81"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
tower = "0.5"
|
|
|
|
serde_json = { version = "1", default-features = false }
|
|
simple-request = { path = "../../../common/request", version = "0.1", default-features = false }
|
|
|
|
alloy-json-rpc = { version = "0.14", default-features = false }
|
|
alloy-transport = { version = "0.14", default-features = false }
|
|
|
|
[features]
|
|
default = ["tls"]
|
|
tls = ["simple-request/tls"]
|