Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minor version and update dependencies #98

Merged
merged 3 commits into from
Mar 11, 2024
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
73 changes: 40 additions & 33 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.3.0"
version = "0.3.1"
edition = "2021"
license = "MIT"
authors = ["Jordan <jordan@simtopia.ai>", "Marc <marc@simtopia.ai>"]
Expand All @@ -19,7 +19,7 @@ keywords = ["agent-based-model", "abm", "simulation", "web3", "ethereum"]
categories = ["simulation", "finance", "science"]

[workspace.dependencies]
revm = { version="6.1.0", default-features = false, features = ["memory_limit", "optional_eip3607", "optional_block_gas_limit", "optional_no_base_fee", "arbitrary"]}
revm = { version="7.1.0", default-features = false, features = ["memory_limit", "optional_eip3607", "optional_block_gas_limit", "optional_no_base_fee", "arbitrary"]}
alloy-primitives = "0.6.4"
alloy-sol-types = { version="0.6.4", features=["json"]}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ for developer notes.

The core rust simulation engine can be used to write simulation
purely in Rust, with a significant gain in performance over
Python in most cases. See [here](https://docs.rs/verbs-rs/0.3.0/verbs_rs/index.html)
Python in most cases. See [here](https://docs.rs/verbs-rs/latest/verbs_rs/)
for the Rust package API documentation and
[here](https://github.com/simtopia/verbs/blob/main/.github/docs/rust.md)
for usage notes.
Expand Down
2 changes: 1 addition & 1 deletion crates/verbs_rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rand.workspace = true
kdam = "0.5.1"
log = "0.4.19"

verbs-macros = { path="../verbs_macros", version = "0.3.0"}
verbs-macros = { path="../verbs_macros", version = "0.3.1"}

# Encoding/decoding
serde_json = "1"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "maturin"

[project]
name = "verbs"
version = "0.3.0"
version = "0.3.1"
description = "Ethereum ABM Library"
license = {file = "LICENSE"}
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions rust/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ pub fn result_to_py(
Ok(x) => Ok((
x.output().map(|b| PyBytes::new(py, b.to_vec().as_slice())),
x.logs()
.into_iter()
.iter()
.map(|a| {
(
address_to_py(py, a.address),
bytes_to_py(py, a.data.data.0.into()),
bytes_to_py(py, a.data.data.0.clone().into()),
)
})
.collect(),
Expand Down