Skip to content

Commit

Permalink
Merge pull request #809 from primitivefinance/deprecate/arbiter-derive
Browse files Browse the repository at this point in the history
deprecate/remove `arbiter-derive` crate
  • Loading branch information
0xJepsen authored Jan 23, 2024
2 parents e48027e + 2b0e8a6 commit 723c883
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 193 deletions.
10 changes: 0 additions & 10 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
# List of crates included in this workspace
members = [ "arbiter-bindings", "arbiter-core", "arbiter-derive", "arbiter-engine"]
members = [ "arbiter-bindings", "arbiter-core", "arbiter-engine"]

# List of crates excluded from this workspace
exclude = ["benches"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Furthermore, Arbiter provides containment and management for simulations. For a
The Arbiter workspace has three crates:
- `arbiter`: The binary crate that exposes a command line interface for initializing simulations via a templated repository and generating contract bindings needed for the simulation.
- `arbiter-core`: The lib crate that contains the core logic for the Arbiter framework including the `RevmMiddleware` discussed before, the `Environment` which envelopes simulations, and the `Manager` who controls a collection of environments.
- `arbiter-derive`: The lib crate that contains custom derive macros for more succinct simulation building.
- `arbiter-engine`: The lib crate that provides abstractions for building simulations and more.

The purpose of Arbiter is to provide a toolset to construct arbitrary agents (defined in Rust, by smart contracts, or even other foreign function interfaces) and have these agents interact with an Ethereum-like environment of your design.
All contract bytecode is run directly using a blazing-fast EVM instance `revm` (which is used in live RPC nodes such as [`reth`](https://github.com/paradigmxyz/reth)) so that your contracts are tested in the exact same type of environment that they are deployed in.
Expand Down
1 change: 0 additions & 1 deletion arbiter-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ polars = { version = "0.36.2", features = ["parquet", "csv", "json"] }

# Dependencies for the test build and development
[dev-dependencies]
arbiter-derive = { version = "0.1.3", path = "../arbiter-derive" }
arbiter-bindings = { version = "0.1.1", path = "../arbiter-bindings" }
anyhow = { version = "=1.0.79" }
test-log = { version = "=0.2.14" }
Expand Down
52 changes: 0 additions & 52 deletions arbiter-core/src/tests/derives.rs

This file was deleted.

1 change: 0 additions & 1 deletion arbiter-core/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

mod contracts;
mod data_collection_integration;
mod derives;
mod environment_integration;
mod middleware_integration;

Expand Down
26 changes: 0 additions & 26 deletions arbiter-derive/CHANGELOG.md

This file was deleted.

17 changes: 0 additions & 17 deletions arbiter-derive/Cargo.toml

This file was deleted.

84 changes: 0 additions & 84 deletions arbiter-derive/src/lib.rs

This file was deleted.

0 comments on commit 723c883

Please sign in to comment.