Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions crates/float/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
[package]
name = "rain-math-float"
version.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
version = "0.1.0"
edition = "2021"
license = "LicenseRef-DCL-1.0"
homepage = "https://github.com/rainlanguage/rain.math.float"

[lib]
crate-type = ["rlib", "cdylib"]

[dependencies]
alloy.workspace = true
thiserror.workspace = true
serde.workspace = true
alloy = { version = "1.0.9", features = ["sol-types", "json-rpc"] }
thiserror = "2.0.12"
serde = "1.0.219"
wasm-bindgen-utils = { git = "https://github.com/rainlanguage/rain.wasm", rev = "06990d85a0b7c55378a1c8cca4dd9e2bc34a596a" }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
revm = { workspace = true, default-features = false, features = [
revm = { version = "25.0.0", default-features = false, features = [
"c-kzg",
"portable",
"std",
"tracer",
] }

[target.'cfg(target_family = "wasm")'.dependencies]
revm = { workspace = true, default-features = false, features = [
revm = { version = "25.0.0", default-features = false, features = [
"kzg-rs",
"portable",
"std",
Expand All @@ -32,7 +32,7 @@ revm = { workspace = true, default-features = false, features = [
getrandom = { version = "0.2.11", features = ["js", "js-sys"] }

[dev-dependencies]
alloy = { workspace = true, features = ["sol-types", "json-rpc", "arbitrary"] }
alloy = { version = "1.0.9", features = ["sol-types", "json-rpc", "arbitrary"] }
anyhow = "1.0.98"
proptest.workspace = true
proptest = "1.7.0"
serde_json = "1.0.140"
2 changes: 1 addition & 1 deletion crates/float/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use alloy::sol_types::SolInterface;
use revm::context::result::{ExecutionResult, Output, SuccessReason};
use revm::context::{BlockEnv, CfgEnv, Evm, TxEnv};
use revm::database::InMemoryDB;
use revm::handler::EthPrecompiles;
use revm::handler::instructions::EthInstructions;
use revm::handler::EthPrecompiles;
use revm::interpreter::interpreter::EthInterpreter;
use revm::primitives::address;
use revm::{Context, MainBuilder, MainContext, SystemCallEvm};
Expand Down
4 changes: 2 additions & 2 deletions crates/float/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use alloy::hex::FromHex;
use alloy::primitives::{B256, Bytes};
use alloy::primitives::{Bytes, B256};
use alloy::{sol, sol_types::SolCall};
use revm::primitives::{U256, fixed_bytes};
use revm::primitives::{fixed_bytes, U256};
use serde::{Deserialize, Serialize};
use std::ops::{Add, Div, Mul, Neg, Sub};
use wasm_bindgen_utils::prelude::*;
Expand Down