Skip to content

Commit

Permalink
feat: U256 type (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI authored May 21, 2024
1 parent 0184951 commit bab7f09
Show file tree
Hide file tree
Showing 4 changed files with 391 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions starknet-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ all-features = true
starknet-crypto = { version = "0.6.2", path = "../starknet-crypto", default-features = false, features = ["alloc"] }
starknet-ff = { version = "0.3.7", path = "../starknet-ff", default-features = false, features = ["serde"] }
base64 = { version = "0.21.0", default-features = false, features = ["alloc"] }
crypto-bigint = { version = "0.5.1", default-features = false }
flate2 = { version = "1.0.25", optional = true }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
serde = { version = "1.0.160", default-features = false, features = ["derive"] }
Expand Down
3 changes: 3 additions & 0 deletions starknet-core/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ pub use codegen::{
TransactionReceiptWithBlockInfo, TransactionTraceWithHash, TransactionWithReceipt,
};

pub mod u256;
pub use u256::U256;

pub mod eth_address;
pub use eth_address::EthAddress;

Expand Down
Loading

0 comments on commit bab7f09

Please sign in to comment.