diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4779d6d0..97ba80ae 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,7 +2,7 @@ Thank you for investing your time in contributing to our project! Any contribution you make is greatly appreciated :sparkles:. -Read our [Code of Conduct]([./CODE_OF_CONDUCT.md](https://github.com/primitivefinance/.github/blob/main/CODE_OF_CONDUCT.md)) to keep our community approachable and respectable. +Read our [Code of Conduct]([./CODE_OF_CONDUCT.md](https://github.com/anthias-labs/.github/blob/main/CODE_OF_CONDUCT.md)) to keep our community approachable and respectable. In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR. @@ -10,7 +10,7 @@ Use the table of contents icon on the top left corner of this document to get to ## New contributor guide -To get an overview of the project, read the [README](https://github.com/primitivefinance/arbiter/blob/main/README.md). Here are some resources to help you get started with open source contributions: +To get an overview of the project, read the [README](https://github.com/anthias-labs/arbiter/blob/main/README.md). Here are some resources to help you get started with open source contributions: - [Finding ways to contribute to open source on GitHub](https://docs.github.com/en/get-started/exploring-projects-on-github/finding-ways-to-contribute-to-open-source-on-github) - [Set up Git](https://docs.github.com/en/get-started/quickstart/set-up-git) @@ -28,7 +28,7 @@ If you spot a problem with the docs, [search if an issue already exists](https:/ #### Solve an issue -Scan through our [existing issues](https://github.com/primitivefinance/arbiter/issues) to find one that interests you. You can narrow down the search using `labels` as filters. If you find an issue to work on, you are welcome to assign it to yourself and open a PR with a fix. +Scan through our [existing issues](https://github.com/anthias-labs/arbiter/issues) to find one that interests you. You can narrow down the search using `labels` as filters. If you find an issue to work on, you are welcome to assign it to yourself and open a PR with a fix. ### Make Changes @@ -62,6 +62,6 @@ Once you submit your PR, a Arbiter team member will review your proposal. We may ### Your PR is merged! -Congratulations :tada::tada: The Primitive Arbiter thanks you :sparkles:. +Congratulations :tada::tada: The Anthias Labs team thanks you :sparkles:. -Once your PR is merged, your contributions will be publicly visible on the [Arbiter Repository](https://github.com/primitivefinance/arbiter). +Once your PR is merged, your contributions will be publicly visible on the [Arbiter Repository](https://github.com/anthias-labs/arbiter). diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 87d4a5a6..60d10a06 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -67,5 +67,5 @@ jobs: with: check_hidden: true check_filenames: true - skip: .git,Cargo.lock,target,CHANGELOG.md + skip: .git,Cargo.lock,target,CHANGELOG.md,engine,core,macros,examples,bindings,bin ignore_words_list: crate,Crate,functio \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5407fdfb..1406b014 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,85 +6,85 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.4.20](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.19...arbiter-v0.4.20) - 2024-04-26 +## [0.4.20](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.19...arbiter-v0.4.20) - 2024-04-26 ### Added -- environment logs ([#911](https://github.com/primitivefinance/arbiter/pull/911)) +- environment logs ([#911](https://github.com/anthias-labs/arbiter/pull/911)) ### Other -- Some repository Tender Loving Care. Should fix release please once merged. ([#959](https://github.com/primitivefinance/arbiter/pull/959)) -- *(deps)* bump rustls from 0.21.10 to 0.21.11 in /docs in the cargo group across 1 directory ([#957](https://github.com/primitivefinance/arbiter/pull/957)) -- *(deps)* bump rustls from 0.21.10 to 0.21.11 in the cargo group ([#956](https://github.com/primitivefinance/arbiter/pull/956)) -- *(deps)* bump serde_json from 1.0.115 to 1.0.116 ([#955](https://github.com/primitivefinance/arbiter/pull/955)) -- *(deps)* bump chrono from 0.4.37 to 0.4.38 ([#954](https://github.com/primitivefinance/arbiter/pull/954)) -- *(deps)* bump serde from 1.0.197 to 1.0.198 ([#953](https://github.com/primitivefinance/arbiter/pull/953)) -- *(deps)* bump quote from 1.0.35 to 1.0.36 ([#947](https://github.com/primitivefinance/arbiter/pull/947)) -- *(deps)* bump anyhow from 1.0.81 to 1.0.82 ([#946](https://github.com/primitivefinance/arbiter/pull/946)) -- *(deps)* bump async-trait from 0.1.79 to 0.1.80 ([#948](https://github.com/primitivefinance/arbiter/pull/948)) -- *(deps)* bump syn from 2.0.58 to 2.0.60 ([#952](https://github.com/primitivefinance/arbiter/pull/952)) -- *(deps)* bump h2 from 0.3.24 to 0.3.26 in /docs ([#945](https://github.com/primitivefinance/arbiter/pull/945)) -- *(deps)* bump h2 from 0.3.25 to 0.3.26 ([#944](https://github.com/primitivefinance/arbiter/pull/944)) -- *(deps)* bump syn from 2.0.57 to 2.0.58 ([#943](https://github.com/primitivefinance/arbiter/pull/943)) -- db management ([#922](https://github.com/primitivefinance/arbiter/pull/922)) -- *(deps)* bump async-trait from 0.1.77 to 0.1.79 ([#940](https://github.com/primitivefinance/arbiter/pull/940)) -- *(deps)* bump thiserror from 1.0.57 to 1.0.58 ([#941](https://github.com/primitivefinance/arbiter/pull/941)) -- *(deps)* bump tokio-stream from 0.1.14 to 0.1.15 ([#939](https://github.com/primitivefinance/arbiter/pull/939)) -- *(deps)* bump serde_json from 1.0.114 to 1.0.115 ([#938](https://github.com/primitivefinance/arbiter/pull/938)) -- *(deps)* bump mio from 0.8.10 to 0.8.11 in /docs ([#927](https://github.com/primitivefinance/arbiter/pull/927)) -- *(deps)* bump anyhow from 1.0.80 to 1.0.81 ([#933](https://github.com/primitivefinance/arbiter/pull/933)) -- *(deps)* bump proc-macro2 from 1.0.78 to 1.0.79 ([#934](https://github.com/primitivefinance/arbiter/pull/934)) -- *(deps)* bump toml from 0.8.10 to 0.8.12 ([#935](https://github.com/primitivefinance/arbiter/pull/935)) -- *(deps)* bump rayon from 1.8.1 to 1.10.0 ([#937](https://github.com/primitivefinance/arbiter/pull/937)) -- update submodule ([#928](https://github.com/primitivefinance/arbiter/pull/928)) -- Update README.md ([#936](https://github.com/primitivefinance/arbiter/pull/936)) -- *(deps)* bump ethers from 2.0.13 to 2.0.14 ([#931](https://github.com/primitivefinance/arbiter/pull/931)) -- *(deps)* bump clap from 4.5.1 to 4.5.2 ([#929](https://github.com/primitivefinance/arbiter/pull/929)) -- *(deps)* bump chrono from 0.4.34 to 0.4.35 ([#930](https://github.com/primitivefinance/arbiter/pull/930)) -- *(deps)* bump mio from 0.8.10 to 0.8.11 ([#926](https://github.com/primitivefinance/arbiter/pull/926)) -- *(deps)* bump crossbeam-channel from 0.5.11 to 0.5.12 ([#919](https://github.com/primitivefinance/arbiter/pull/919)) -- *(deps)* bump syn from 2.0.51 to 2.0.52 ([#920](https://github.com/primitivefinance/arbiter/pull/920)) -- *(deps)* bump tempfile from 3.10.0 to 3.10.1 ([#917](https://github.com/primitivefinance/arbiter/pull/917)) -- *(deps)* bump syn from 2.0.50 to 2.0.51 ([#915](https://github.com/primitivefinance/arbiter/pull/915)) - -## [0.4.19](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.18...arbiter-v0.4.19) - 2024-02-26 +- Some repository Tender Loving Care. Should fix release please once merged. ([#959](https://github.com/anthias-labs/arbiter/pull/959)) +- *(deps)* bump rustls from 0.21.10 to 0.21.11 in /docs in the cargo group across 1 directory ([#957](https://github.com/anthias-labs/arbiter/pull/957)) +- *(deps)* bump rustls from 0.21.10 to 0.21.11 in the cargo group ([#956](https://github.com/anthias-labs/arbiter/pull/956)) +- *(deps)* bump serde_json from 1.0.115 to 1.0.116 ([#955](https://github.com/anthias-labs/arbiter/pull/955)) +- *(deps)* bump chrono from 0.4.37 to 0.4.38 ([#954](https://github.com/anthias-labs/arbiter/pull/954)) +- *(deps)* bump serde from 1.0.197 to 1.0.198 ([#953](https://github.com/anthias-labs/arbiter/pull/953)) +- *(deps)* bump quote from 1.0.35 to 1.0.36 ([#947](https://github.com/anthias-labs/arbiter/pull/947)) +- *(deps)* bump anyhow from 1.0.81 to 1.0.82 ([#946](https://github.com/anthias-labs/arbiter/pull/946)) +- *(deps)* bump async-trait from 0.1.79 to 0.1.80 ([#948](https://github.com/anthias-labs/arbiter/pull/948)) +- *(deps)* bump syn from 2.0.58 to 2.0.60 ([#952](https://github.com/anthias-labs/arbiter/pull/952)) +- *(deps)* bump h2 from 0.3.24 to 0.3.26 in /docs ([#945](https://github.com/anthias-labs/arbiter/pull/945)) +- *(deps)* bump h2 from 0.3.25 to 0.3.26 ([#944](https://github.com/anthias-labs/arbiter/pull/944)) +- *(deps)* bump syn from 2.0.57 to 2.0.58 ([#943](https://github.com/anthias-labs/arbiter/pull/943)) +- db management ([#922](https://github.com/anthias-labs/arbiter/pull/922)) +- *(deps)* bump async-trait from 0.1.77 to 0.1.79 ([#940](https://github.com/anthias-labs/arbiter/pull/940)) +- *(deps)* bump thiserror from 1.0.57 to 1.0.58 ([#941](https://github.com/anthias-labs/arbiter/pull/941)) +- *(deps)* bump tokio-stream from 0.1.14 to 0.1.15 ([#939](https://github.com/anthias-labs/arbiter/pull/939)) +- *(deps)* bump serde_json from 1.0.114 to 1.0.115 ([#938](https://github.com/anthias-labs/arbiter/pull/938)) +- *(deps)* bump mio from 0.8.10 to 0.8.11 in /docs ([#927](https://github.com/anthias-labs/arbiter/pull/927)) +- *(deps)* bump anyhow from 1.0.80 to 1.0.81 ([#933](https://github.com/anthias-labs/arbiter/pull/933)) +- *(deps)* bump proc-macro2 from 1.0.78 to 1.0.79 ([#934](https://github.com/anthias-labs/arbiter/pull/934)) +- *(deps)* bump toml from 0.8.10 to 0.8.12 ([#935](https://github.com/anthias-labs/arbiter/pull/935)) +- *(deps)* bump rayon from 1.8.1 to 1.10.0 ([#937](https://github.com/anthias-labs/arbiter/pull/937)) +- update submodule ([#928](https://github.com/anthias-labs/arbiter/pull/928)) +- Update README.md ([#936](https://github.com/anthias-labs/arbiter/pull/936)) +- *(deps)* bump ethers from 2.0.13 to 2.0.14 ([#931](https://github.com/anthias-labs/arbiter/pull/931)) +- *(deps)* bump clap from 4.5.1 to 4.5.2 ([#929](https://github.com/anthias-labs/arbiter/pull/929)) +- *(deps)* bump chrono from 0.4.34 to 0.4.35 ([#930](https://github.com/anthias-labs/arbiter/pull/930)) +- *(deps)* bump mio from 0.8.10 to 0.8.11 ([#926](https://github.com/anthias-labs/arbiter/pull/926)) +- *(deps)* bump crossbeam-channel from 0.5.11 to 0.5.12 ([#919](https://github.com/anthias-labs/arbiter/pull/919)) +- *(deps)* bump syn from 2.0.51 to 2.0.52 ([#920](https://github.com/anthias-labs/arbiter/pull/920)) +- *(deps)* bump tempfile from 3.10.0 to 3.10.1 ([#917](https://github.com/anthias-labs/arbiter/pull/917)) +- *(deps)* bump syn from 2.0.50 to 2.0.51 ([#915](https://github.com/anthias-labs/arbiter/pull/915)) + +## [0.4.19](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.18...arbiter-v0.4.19) - 2024-02-26 ### Added -- `error!` output from behavior ([#913](https://github.com/primitivefinance/arbiter/pull/913)) +- `error!` output from behavior ([#913](https://github.com/anthias-labs/arbiter/pull/913)) -## [0.4.18](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.17...arbiter-v0.4.18) - 2024-02-20 +## [0.4.18](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.17...arbiter-v0.4.18) - 2024-02-20 ### Other -- *(deps)* bump serde from 1.0.196 to 1.0.197 ([#910](https://github.com/primitivefinance/arbiter/pull/910)) -- *(deps)* bump syn from 2.0.49 to 2.0.50 ([#908](https://github.com/primitivefinance/arbiter/pull/908)) -- *(deps)* bump serde_json from 1.0.113 to 1.0.114 ([#909](https://github.com/primitivefinance/arbiter/pull/909)) -- *(deps)* bump assert_cmd from 2.0.13 to 2.0.14 ([#907](https://github.com/primitivefinance/arbiter/pull/907)) -- *(deps)* bump anyhow from 1.0.79 to 1.0.80 ([#906](https://github.com/primitivefinance/arbiter/pull/906)) -- *(deps)* bump arbiter-engine from 0.2.0 to 0.3.0 ([#902](https://github.com/primitivefinance/arbiter/pull/902)) -- *(deps)* bump clap from 4.5.0 to 4.5.1 ([#903](https://github.com/primitivefinance/arbiter/pull/903)) -- *(deps)* bump syn from 2.0.48 to 2.0.49 ([#901](https://github.com/primitivefinance/arbiter/pull/901)) -- incorrect method ([#904](https://github.com/primitivefinance/arbiter/pull/904)) - -## [0.4.17](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.16...arbiter-v0.4.17) - 2024-02-16 +- *(deps)* bump serde from 1.0.196 to 1.0.197 ([#910](https://github.com/anthias-labs/arbiter/pull/910)) +- *(deps)* bump syn from 2.0.49 to 2.0.50 ([#908](https://github.com/anthias-labs/arbiter/pull/908)) +- *(deps)* bump serde_json from 1.0.113 to 1.0.114 ([#909](https://github.com/anthias-labs/arbiter/pull/909)) +- *(deps)* bump assert_cmd from 2.0.13 to 2.0.14 ([#907](https://github.com/anthias-labs/arbiter/pull/907)) +- *(deps)* bump anyhow from 1.0.79 to 1.0.80 ([#906](https://github.com/anthias-labs/arbiter/pull/906)) +- *(deps)* bump arbiter-engine from 0.2.0 to 0.3.0 ([#902](https://github.com/anthias-labs/arbiter/pull/902)) +- *(deps)* bump clap from 4.5.0 to 4.5.1 ([#903](https://github.com/anthias-labs/arbiter/pull/903)) +- *(deps)* bump syn from 2.0.48 to 2.0.49 ([#901](https://github.com/anthias-labs/arbiter/pull/901)) +- incorrect method ([#904](https://github.com/anthias-labs/arbiter/pull/904)) + +## [0.4.17](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.16...arbiter-v0.4.17) - 2024-02-16 ### Added -- *(engine)* optional stream for behaviors ([#899](https://github.com/primitivefinance/arbiter/pull/899)) +- *(engine)* optional stream for behaviors ([#899](https://github.com/anthias-labs/arbiter/pull/899)) -## [0.4.16](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.15...arbiter-v0.4.16) - 2024-02-15 +## [0.4.16](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.15...arbiter-v0.4.16) - 2024-02-15 ### Other -- release ([#890](https://github.com/primitivefinance/arbiter/pull/890)) +- release ([#890](https://github.com/anthias-labs/arbiter/pull/890)) -## [0.4.15](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.14...arbiter-v0.4.15) - 2024-02-13 +## [0.4.15](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.14...arbiter-v0.4.15) - 2024-02-13 ### Added -- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/primitivefinance/arbiter/pull/880)) +- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/anthias-labs/arbiter/pull/880)) ### Other -- Engine/world from config ([#882](https://github.com/primitivefinance/arbiter/pull/882)) -- Docs/examples ([#881](https://github.com/primitivefinance/arbiter/pull/881)) -- release ([#878](https://github.com/primitivefinance/arbiter/pull/878)) +- Engine/world from config ([#882](https://github.com/anthias-labs/arbiter/pull/882)) +- Docs/examples ([#881](https://github.com/anthias-labs/arbiter/pull/881)) +- release ([#878](https://github.com/anthias-labs/arbiter/pull/878)) -## [0.4.14](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.13...arbiter-v0.4.14) - 2024-01-23 +## [0.4.14](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.13...arbiter-v0.4.14) - 2024-01-23 ### Added - `World::stop()` method @@ -104,12 +104,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - tests and test workflow ### Other -- Merge pull request [#811](https://github.com/primitivefinance/arbiter/pull/811) from primitivefinance/dependabot/cargo/chrono-0.4.32 -- Merge pull request [#804](https://github.com/primitivefinance/arbiter/pull/804) from primitivefinance/arbiter-core/impl-signer +- Merge pull request [#811](https://github.com/anthias-labs/arbiter/pull/811) from anthias-labs/dependabot/cargo/chrono-0.4.32 +- Merge pull request [#804](https://github.com/anthias-labs/arbiter/pull/804) from anthias-labs/arbiter-core/impl-signer - Update README.md - rm `arbiter-derive` -- Merge pull request [#807](https://github.com/primitivefinance/arbiter/pull/807) from primitivefinance/dependabot/cargo/clap-4.4.18 -- Merge pull request [#806](https://github.com/primitivefinance/arbiter/pull/806) from primitivefinance/dependabot/cargo/proc-macro2-1.0.78 +- Merge pull request [#807](https://github.com/anthias-labs/arbiter/pull/807) from anthias-labs/dependabot/cargo/clap-4.4.18 +- Merge pull request [#806](https://github.com/anthias-labs/arbiter/pull/806) from anthias-labs/dependabot/cargo/proc-macro2-1.0.78 - *(deps)* bump proc-macro2 from 1.0.76 to 1.0.78 - Merge branch 'main' into arbiter-engine/world-agent-behaviors - pin revm versions @@ -141,18 +141,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - leaving off here, - some ideas laid out - attempting messager refactor -- Merge pull request [#782](https://github.com/primitivefinance/arbiter/pull/782) from primitivefinance/dependabot/cargo/clap-4.4.14 -- Merge pull request [#781](https://github.com/primitivefinance/arbiter/pull/781) from primitivefinance/dependabot/cargo/revm-30bbcdf -- Merge pull request [#780](https://github.com/primitivefinance/arbiter/pull/780) from primitivefinance/dependabot/cargo/proc-macro2-1.0.76 +- Merge pull request [#782](https://github.com/anthias-labs/arbiter/pull/782) from anthias-labs/dependabot/cargo/clap-4.4.14 +- Merge pull request [#781](https://github.com/anthias-labs/arbiter/pull/781) from anthias-labs/dependabot/cargo/revm-30bbcdf +- Merge pull request [#780](https://github.com/anthias-labs/arbiter/pull/780) from anthias-labs/dependabot/cargo/proc-macro2-1.0.76 - *(deps)* bump proc-macro2 from 1.0.75 to 1.0.76 - *(deps)* bump revm from `67331de` to `aff028e` - *(deps)* bump thiserror from 1.0.51 to 1.0.55 -- Merge pull request [#775](https://github.com/primitivefinance/arbiter/pull/775) from primitivefinance/dependabot/cargo/proc-macro2-1.0.75 -- Merge pull request [#774](https://github.com/primitivefinance/arbiter/pull/774) from primitivefinance/dependabot/cargo/clap-4.4.13 -- Merge pull request [#773](https://github.com/primitivefinance/arbiter/pull/773) from primitivefinance/dependabot/cargo/syn-2.0.43 +- Merge pull request [#775](https://github.com/anthias-labs/arbiter/pull/775) from anthias-labs/dependabot/cargo/proc-macro2-1.0.75 +- Merge pull request [#774](https://github.com/anthias-labs/arbiter/pull/774) from anthias-labs/dependabot/cargo/clap-4.4.13 +- Merge pull request [#773](https://github.com/anthias-labs/arbiter/pull/773) from anthias-labs/dependabot/cargo/syn-2.0.43 - *(deps)* bump syn from 2.0.42 to 2.0.43 -- Merge pull request [#770](https://github.com/primitivefinance/arbiter/pull/770) from primitivefinance/dependabot/cargo/tokio-1.35.1 -- Merge pull request [#771](https://github.com/primitivefinance/arbiter/pull/771) from primitivefinance/dependabot/cargo/futures-0.3.30 +- Merge pull request [#770](https://github.com/anthias-labs/arbiter/pull/770) from anthias-labs/dependabot/cargo/tokio-1.35.1 +- Merge pull request [#771](https://github.com/anthias-labs/arbiter/pull/771) from anthias-labs/dependabot/cargo/futures-0.3.30 - *(deps)* bump crossbeam-channel from 0.5.9 to 0.5.10 - Merge branch 'main' into arbiter-core/db-backend - mod database and `coprocessor` @@ -174,12 +174,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - dependencies - Update tests.rs - Update lint.yaml -- Revert "Merge pull request [#725](https://github.com/primitivefinance/arbiter/pull/725) from quidproquoo/migrate-alloy" +- Revert "Merge pull request [#725](https://github.com/anthias-labs/arbiter/pull/725) from quidproquoo/migrate-alloy" - *(deps)* bump clap from 4.4.10 to 4.4.11 - minor - Merge branch 'main' into release-plz-2023-11-21T13-00-44Z -## [0.4.13](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.12...arbiter-v0.4.13) - 2023-11-18 +## [0.4.13](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.12...arbiter-v0.4.13) - 2023-11-18 ### Other - *(deps)* bump polars from 0.34.2 to 0.35.2 @@ -194,7 +194,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - forge init - arbiter-bindings -## [0.4.12](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.11...arbiter-v0.4.12) - 2023-11-15 +## [0.4.12](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.11...arbiter-v0.4.12) - 2023-11-15 ### Other - improve error handling @@ -203,20 +203,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - added a passing itterator test - abstracted broken code into for_each_submodile() function -## [0.4.11](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.10...arbiter-v0.4.11) - 2023-11-14 +## [0.4.11](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.10...arbiter-v0.4.11) - 2023-11-14 ### Other - Merge branch 'main' into dependabot/cargo/clap-4.4.8 - abiter -> arbiter -## [0.4.10](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.9...arbiter-v0.4.10) - 2023-11-13 +## [0.4.10](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.9...arbiter-v0.4.10) - 2023-11-13 ### Other -- Merge pull request [#700](https://github.com/primitivefinance/arbiter/pull/700) from primitivefinance/feat/client-label +- Merge pull request [#700](https://github.com/anthias-labs/arbiter/pull/700) from anthias-labs/feat/client-label - ignore changelog - cargo lock -## [0.4.9](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.8...arbiter-v0.4.9) - 2023-11-13 +## [0.4.9](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.8...arbiter-v0.4.9) - 2023-11-13 ### Other - tag allow unused on label @@ -228,43 +228,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - organize tests to colins suggestion - Update release-plz.yml -## [0.4.8](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.7...arbiter-v0.4.8) - 2023-11-10 +## [0.4.8](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.7...arbiter-v0.4.8) - 2023-11-10 ### Other - release-plz - Update README.md -- Merge pull request [#693](https://github.com/primitivefinance/arbiter/pull/693) from primitivefinance/enhance/logging +- Merge pull request [#693](https://github.com/anthias-labs/arbiter/pull/693) from anthias-labs/enhance/logging - clippy - Merge branch 'main' into enhance/logging -- Merge pull request [#691](https://github.com/primitivefinance/arbiter/pull/691) from primitivefinance/dependabot/cargo/toml-0.8.8 -- Merge pull request [#672](https://github.com/primitivefinance/arbiter/pull/672) from primitivefinance/outputfile_optionality +- Merge pull request [#691](https://github.com/anthias-labs/arbiter/pull/691) from anthias-labs/dependabot/cargo/toml-0.8.8 +- Merge pull request [#672](https://github.com/anthias-labs/arbiter/pull/672) from anthias-labs/outputfile_optionality - Merge branch 'main' into cargo_lock - move to release-plz pr commits - commit to head_ref - auto commit lock file - Fix broken link in README.md - *(deps)* bump serde from 1.0.191 to 1.0.192 -- Merge pull request [#665](https://github.com/primitivefinance/arbiter/pull/665) from primitivefinance/arbiter_config -- Merge pull request [#679](https://github.com/primitivefinance/arbiter/pull/679) from primitivefinance/dependabot/cargo/syn-2.0.39 +- Merge pull request [#665](https://github.com/anthias-labs/arbiter/pull/665) from anthias-labs/arbiter_config +- Merge pull request [#679](https://github.com/anthias-labs/arbiter/pull/679) from anthias-labs/dependabot/cargo/syn-2.0.39 - *(deps)* bump syn from 2.0.38 to 2.0.39 - *(deps)* bump serde from 1.0.190 to 1.0.191 -## [0.4.7](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.6...arbiter-v0.4.7) - 2023-11-06 +## [0.4.7](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.6...arbiter-v0.4.7) - 2023-11-06 ### Other - updated the following local packages: arbiter-core -## [0.4.6](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.5...arbiter-v0.4.6) - 2023-10-30 +## [0.4.6](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.5...arbiter-v0.4.6) - 2023-10-30 ### Other - *(deps)* bump serde_json from 1.0.107 to 1.0.108 -- Merge pull request [#658](https://github.com/primitivefinance/arbiter/pull/658) from primitivefinance/dependabot/cargo/tempfile-3.8.1 +- Merge pull request [#658](https://github.com/anthias-labs/arbiter/pull/658) from anthias-labs/dependabot/cargo/tempfile-3.8.1 - Merge branch 'main' into dependabot/cargo/tempfile-3.8.1 - other test was broken too - remove book deploy - don't use macos in CI -## [0.4.5](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.4...arbiter-v0.4.5) - 2023-10-27 +## [0.4.5](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.4...arbiter-v0.4.5) - 2023-10-27 ### Fixed - fix data output test to rmdir after completion @@ -272,7 +272,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - fix tests ### Other -- Merge pull request [#656](https://github.com/primitivefinance/arbiter/pull/656) from primitivefinance/colin/fix-event-logger +- Merge pull request [#656](https://github.com/anthias-labs/arbiter/pull/656) from anthias-labs/colin/fix-event-logger - rm printlns - fmt - create valid json @@ -285,31 +285,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update data_collection.rs - broadcast enum - create a channel for direct reads -- Merge pull request [#642](https://github.com/primitivefinance/arbiter/pull/642) from primitivefinance/dependabot/cargo/clap-4.4.7 +- Merge pull request [#642](https://github.com/anthias-labs/arbiter/pull/642) from anthias-labs/dependabot/cargo/clap-4.4.7 -## [0.4.4](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.3...arbiter-v0.4.4) - 2023-10-23 +## [0.4.4](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.3...arbiter-v0.4.4) - 2023-10-23 ### Other - cargo lock - *(deps)* update toml requirement from =0.8.2 to =0.8.4 -## [0.4.3](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.2...arbiter-v0.4.3) - 2023-10-22 +## [0.4.3](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.2...arbiter-v0.4.3) - 2023-10-22 ### Fixed - *(bind)* output directory outputs to src/bindings ### Other -- Merge pull request [#633](https://github.com/primitivefinance/arbiter/pull/633) from primitivefinance/md_book -- Merge pull request [#634](https://github.com/primitivefinance/arbiter/pull/634) from primitivefinance/fix/arbiter-bind-output +- Merge pull request [#633](https://github.com/anthias-labs/arbiter/pull/633) from anthias-labs/md_book +- Merge pull request [#634](https://github.com/anthias-labs/arbiter/pull/634) from anthias-labs/fix/arbiter-bind-output -## [0.4.2](https://github.com/primitivefinance/arbiter/compare/arbiter-v0.4.1...arbiter-v0.4.2) - 2023-10-20 +## [0.4.2](https://github.com/anthias-labs/arbiter/compare/arbiter-v0.4.1...arbiter-v0.4.2) - 2023-10-20 ### Other - code spell - clippy - tests pass - 🧪 -- Merge pull request [#618](https://github.com/primitivefinance/arbiter/pull/618) from primitivefinance/feat/release_pls +- Merge pull request [#618](https://github.com/anthias-labs/arbiter/pull/618) from anthias-labs/feat/release_pls - bump version - forking EOA - *(deps)* update thiserror requirement from =1.0.49 to =1.0.50 diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index 7f12aa80..e30aa742 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -6,27 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.11.0](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.10.3...arbiter-core-v0.11.0) - 2024-04-26 +## [0.11.0](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.10.3...arbiter-core-v0.11.0) - 2024-04-26 ### Added -- environment logs ([#911](https://github.com/primitivefinance/arbiter/pull/911)) +- environment logs ([#911](https://github.com/anthias-labs/arbiter/pull/911)) ### Other -- Some repository Tender Loving Care. Should fix release please once merged. ([#959](https://github.com/primitivefinance/arbiter/pull/959)) -- *(deps)* bump chrono from 0.4.37 to 0.4.38 ([#954](https://github.com/primitivefinance/arbiter/pull/954)) -- *(deps)* bump chrono from 0.4.34 to 0.4.35 ([#930](https://github.com/primitivefinance/arbiter/pull/930)) +- Some repository Tender Loving Care. Should fix release please once merged. ([#959](https://github.com/anthias-labs/arbiter/pull/959)) +- *(deps)* bump chrono from 0.4.37 to 0.4.38 ([#954](https://github.com/anthias-labs/arbiter/pull/954)) +- *(deps)* bump chrono from 0.4.34 to 0.4.35 ([#930](https://github.com/anthias-labs/arbiter/pull/930)) -## [0.10.3](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.10.2...arbiter-core-v0.10.3) - 2024-02-20 +## [0.10.3](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.10.2...arbiter-core-v0.10.3) - 2024-02-20 ### Other - update Cargo.toml dependencies -## [0.10.2](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.10.1...arbiter-core-v0.10.2) - 2024-02-13 +## [0.10.2](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.10.1...arbiter-core-v0.10.2) - 2024-02-13 ### Added -- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/primitivefinance/arbiter/pull/880)) +- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/anthias-labs/arbiter/pull/880)) -## [0.10.0](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.9.1...arbiter-core-v0.10.0) - 2024-01-23 +## [0.10.0](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.9.1...arbiter-core-v0.10.0) - 2024-01-23 ### Added - stream into process @@ -41,8 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - tests and test workflow ### Other -- Merge pull request [#811](https://github.com/primitivefinance/arbiter/pull/811) from primitivefinance/dependabot/cargo/chrono-0.4.32 -- Merge pull request [#804](https://github.com/primitivefinance/arbiter/pull/804) from primitivefinance/arbiter-core/impl-signer +- Merge pull request [#811](https://github.com/anthias-labs/arbiter/pull/811) from anthias-labs/dependabot/cargo/chrono-0.4.32 +- Merge pull request [#804](https://github.com/anthias-labs/arbiter/pull/804) from anthias-labs/arbiter-core/impl-signer - rm `arbiter-derive` - Merge branch 'main' into arbiter-engine/world-agent-behaviors - calling it here @@ -62,9 +62,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - messager echo - *(deps)* bump test-log from 0.2.13 to 0.2.14 - dependencies -- Revert "Merge pull request [#725](https://github.com/primitivefinance/arbiter/pull/725) from quidproquoo/migrate-alloy" +- Revert "Merge pull request [#725](https://github.com/anthias-labs/arbiter/pull/725) from quidproquoo/migrate-alloy" -## [0.9.0](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.8.0...arbiter-core-v0.9.0) - 2023-11-18 +## [0.9.0](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.8.0...arbiter-core-v0.9.0) - 2023-11-18 ### Other - *(deps)* bump polars from 0.34.2 to 0.35.2 @@ -72,7 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Merge branch 'main' into arbiter_bindings - arbiter-bindings -## [0.8.0](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.7.6...arbiter-core-v0.8.0) - 2023-11-14 +## [0.8.0](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.7.6...arbiter-core-v0.8.0) - 2023-11-14 ### Fixed - fix hanging test @@ -90,13 +90,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - try w warn and moving to singleton break - break event collector loop -## [0.7.6](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.7.5...arbiter-core-v0.7.6) - 2023-11-13 +## [0.7.6](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.7.5...arbiter-core-v0.7.6) - 2023-11-13 ### Other - Merge branch 'main' into feat/client-label - Update mod.rs -## [0.7.5](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.7.4...arbiter-core-v0.7.5) - 2023-11-13 +## [0.7.5](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.7.4...arbiter-core-v0.7.5) - 2023-11-13 ### Added - provide `RevmMiddleware` with label field @@ -105,19 +105,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - tag allow unused on label - Merge branch 'main' into feat/client-label -## [0.7.4](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.7.3...arbiter-core-v0.7.4) - 2023-11-10 +## [0.7.4](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.7.3...arbiter-core-v0.7.4) - 2023-11-10 ### Other - release-plz - clippy - Merge branch 'main' into enhance/logging -- Merge pull request [#672](https://github.com/primitivefinance/arbiter/pull/672) from primitivefinance/outputfile_optionality +- Merge pull request [#672](https://github.com/anthias-labs/arbiter/pull/672) from anthias-labs/outputfile_optionality - abstract data_frame flattening - Merge branch 'main' into outputfile_optionality - *(deps)* update serde requirement in /arbiter-core - *(deps)* bump serde from 1.0.190 to 1.0.191 -## [0.7.2](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.7.1...arbiter-core-v0.7.2) - 2023-11-06 +## [0.7.2](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.7.1...arbiter-core-v0.7.2) - 2023-11-06 ### Added - metadata @@ -133,7 +133,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - yo it work - pubsub implemented -## [0.7.1](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.7.0...arbiter-core-v0.7.1) - 2023-10-30 +## [0.7.1](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.7.0...arbiter-core-v0.7.1) - 2023-10-30 ### Fixed - fix test and change output directory @@ -146,7 +146,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - remove test - fmt -## [0.7.0](https://github.com/primitivefinance/arbiter/compare/arbiter-core-v0.6.3...arbiter-core-v0.7.0) - 2023-10-27 +## [0.7.0](https://github.com/anthias-labs/arbiter/compare/arbiter-core-v0.6.3...arbiter-core-v0.7.0) - 2023-10-27 ### Fixed - fix data output test to rmdir after completion @@ -154,7 +154,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - fix tests ### Other -- Merge pull request [#656](https://github.com/primitivefinance/arbiter/pull/656) from primitivefinance/colin/fix-event-logger +- Merge pull request [#656](https://github.com/anthias-labs/arbiter/pull/656) from anthias-labs/colin/fix-event-logger - rm printlns - fmt - create valid json diff --git a/core/src/environment/instruction.rs b/core/src/environment/instruction.rs index e655a6bf..921fb559 100644 --- a/core/src/environment/instruction.rs +++ b/core/src/environment/instruction.rs @@ -15,10 +15,10 @@ use super::*; /// - [`Instruction::SetGasPrice`], /// - [`Instruction::Stop`], /// - [`Instruction::Transaction`], - +/// /// The [`Instruction`]s are sent to the [`Environment`] via the -/// [`Socket::instruction_sender`] and the results are received via the -/// [`crate::middleware::Connection::outcome_receiver`]. +/// [`Socket::instruction_sender`] and the results are received via the +/// [`crate::middleware::Connection::outcome_receiver`]. #[derive(Debug, Clone)] pub(crate) enum Instruction { /// An `AddAccount` is used to add a default/unfunded account to the diff --git a/core/src/environment/mod.rs b/core/src/environment/mod.rs index 4586c52b..fdb64def 100644 --- a/core/src/environment/mod.rs +++ b/core/src/environment/mod.rs @@ -12,10 +12,10 @@ //! - [`Environment`]: Represents the Ethereum execution environment, allowing //! for its management (e.g., starting, stopping) and interfacing with agents. //! - [`EnvironmentParameters`]: Parameters necessary for creating or modifying -//! an [`Environment`]. +//! an [`Environment`]. //! - [`Instruction`]: Enum indicating the type of instruction that is being //! sent -//! to the EVM. +//! to the EVM. use std::thread::{self, JoinHandle}; @@ -59,15 +59,15 @@ pub(crate) type OutcomeReceiver = Receiver>; /// /// ## Features /// * [`revm::Evm`] and its connections to the "outside world" (agents) via the -/// [`Socket`] provide the [`Environment`] a means to route and execute -/// transactions. +/// [`Socket`] provide the [`Environment`] a means to route and execute +/// transactions. /// * [`ArbiterDB`] is the database structure used that allows for read-only -/// sharing of execution and write-only via the main thread. This can also be a -/// database read in from disk storage via [`database::fork::Fork`]. +/// sharing of execution and write-only via the main thread. This can also be a +/// database read in from disk storage via [`database::fork::Fork`]. /// * [`ArbiterInspector`] is an that allows for the EVM to be able to display -/// logs and properly handle gas payments. +/// logs and properly handle gas payments. /// * [`EnvironmentParameters`] are used to set the gas limit, contract size -/// limit, and label for the [`Environment`]. +/// limit, and label for the [`Environment`]. #[derive(Debug)] pub struct Environment { /// The label used to define the [`Environment`]. @@ -695,7 +695,7 @@ pub enum Broadcast { /// * `input` - The U256 to convert. /// # Returns /// * `Ok(U64)` - The converted U64. -/// Used for block number which is a U64. +/// Used for block number which is a U64. #[inline] fn convert_uint_to_u64(input: U256) -> Result { let as_str = input.to_string(); diff --git a/core/src/lib.rs b/core/src/lib.rs index 2990cc91..6408629a 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -22,7 +22,7 @@ //! and provide optimal performance. //! //! For a detailed guide on getting started, check out the -//! [Arbiter Github page](https://github.com/primitivefinance/arbiter/). +//! [Arbiter Github page](https://github.com/amthias-labs/arbiter/). //! //! For specific module-level information and examples, navigate to the //! respective module documentation below. diff --git a/docs/src/getting_started/examples.md b/docs/src/getting_started/examples.md index 7efc6fbe..94faebc7 100644 --- a/docs/src/getting_started/examples.md +++ b/docs/src/getting_started/examples.md @@ -2,7 +2,7 @@ We have a few examples to help you get started with Arbiter. These examples are designed to be simple and easy to understand. They are also designed to be easy to run and modify. We hope you find them helpful! -Our examples are in the [examples](https://github.com/primitivefinance/arbiter/tree/main/examples) directory. There are two examples: one for building a simulation and one fork forking the mainnet state. +Our examples are in the [examples](https://github.com/anthias-labs/arbiter/tree/main/examples) directory. There are two examples: one for building a simulation and one fork forking the mainnet state. ## Simulation @@ -12,9 +12,9 @@ You can run them with the following command: cargo run --example project simulate examples/project/configs/example.toml ``` -This will run the minimal counter-simulation. The simulation is very minimal and is designed to be easy to understand. It uses an arbiter main macro to derive the `incrementer` behavior for a single agent. Our design philosophy is that the users of Arbiter should only need to define behaviors and a configuration toml for the behaviors. You can see how the behaviors were represented in this simulation in the [behaviors](https://github.com/primitivefinance/arbiter/tree/main/examples/project/behaviors) module. We implement a single behavior for the incrementer struct that deploys the counter on startup and then on the increment event will increment the count. +This will run the minimal counter-simulation. The simulation is very minimal and is designed to be easy to understand. It uses an arbiter main macro to derive the `incrementer` behavior for a single agent. Our design philosophy is that the users of Arbiter should only need to define behaviors and a configuration toml for the behaviors. You can see how the behaviors were represented in this simulation in the [behaviors](https://github.com/anthias-labs/arbiter/tree/main/examples/project/behaviors) module. We implement a single behavior for the incrementer struct that deploys the counter on startup and then on the increment event will increment the count. -For more information on the behavior trait please see the section on [behaviors](https://primitivefinance.github.io/arbiter/usage/arbiter_engine/behaviors.html) +For more information on the behavior trait please see the section on [behaviors](https://anthias-labs.github.io/arbiter/usage/arbiter_engine/behaviors.html) ## Forking diff --git a/docs/src/index.md b/docs/src/index.md index e9136b1b..2e5c92f4 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -65,8 +65,7 @@ The data generated by the simulation is then analyzed to detect anomalies. This >Rule-Based Methods: These methods define rules that describe the system's normal behavior. Any behavior that does not conform to these rules is considered an anomaly. ->Time Series Analysis: In systems where data is collected over time, time series analysis can be used to detect anomalies. This involves looking for patterns or trends in the data over time and identifying any deviations from these patterns. This is one way we at Primitive have used Arbiter to ensure the security of EVM-oriented products. - +>Time Series Analysis: In systems where data is collected over time, time series analysis can be used to detect anomalies. This involves looking for patterns or trends in the data over time and identifying any deviations from these patterns. >>Log Analysis: Many software systems generate logs that record the system's activity. Analyzing these logs can help detect anomalies. This can be done manually or using automated tools. >>Evaluating and Refining the Model: The detected anomalies are evaluated to determine if they are true anomalies or false positives. The model is refined based on these evaluations to improve its accuracy in detecting abnormalities. diff --git a/docs/src/usage/arbiter_macros.md b/docs/src/usage/arbiter_macros.md index 63ce8d19..bef6d207 100644 --- a/docs/src/usage/arbiter_macros.md +++ b/docs/src/usage/arbiter_macros.md @@ -7,7 +7,7 @@ Macros can be used for tasks like deriving traits automatically or for generatin ## Procedural Macros > **`#[derive(Behaviors)]`** -This Rust procedural macro automatically implements the [CreateStateMachine](https://github.com/primitivefinance/arbiter/blob/ffbbd146dc05f3e1088a9df5cf78452a1bef2212/macros/src/lib.rs#L68) trait for an enum, generating a [create_state_machine](https://github.com/primitivefinance/arbiter/blob/ffbbd146dc05f3e1088a9df5cf78452a1bef2212/macros/src/lib.rs#L26) method that matches each enum variant to a new state machine instance. +This Rust procedural macro automatically implements the [CreateStateMachine](https://github.com/anthias-labs/arbiter/blob/ffbbd146dc05f3e1088a9df5cf78452a1bef2212/macros/src/lib.rs#L68) trait for an enum, generating a [create_state_machine](https://github.com/anthias-labs/arbiter/blob/ffbbd146dc05f3e1088a9df5cf78452a1bef2212/macros/src/lib.rs#L26) method that matches each enum variant to a new state machine instance. It's designed for enums where each variant contains a single unnamed field representing state data. This macro simplifies the creation of state machines from enums, eliminating repetitive boilerplate code and enhancing code maintainability. @@ -36,14 +36,14 @@ enum Behaviors { ``` > **`#[main]`**. -The [`#[arbiter_macros::main]`](https://github.com/primitivefinance/arbiter/blob/ffbbd146dc05f3e1088a9df5cf78452a1bef2212/macros/src/lib.rs#L161) macro in `arbiter-macros/src/lib.rs` is designed to simplify the creation of a CLI that will let you run your simulations by automatically generating a `main` function that sets up command-line parsing, logging, async execution, and world creation. +The [`#[arbiter_macros::main]`](https://github.com/anthias-labs/arbiter/blob/ffbbd146dc05f3e1088a9df5cf78452a1bef2212/macros/src/lib.rs#L161) macro in `arbiter-macros/src/lib.rs` is designed to simplify the creation of a CLI that will let you run your simulations by automatically generating a `main` function that sets up command-line parsing, logging, async execution, and world creation. It takes custom attributes to configure the application's metadata such as the project's name, description, and the set of behaviors you want to use. Under the hood, it uses the [clap](https://crates.io/crates/clap) crate for parsing CLI arguments and [tracing](https://crates.io/crates/tracing) for logging based on verbosity level. The macro needs to have have an object that has the `CreateStateMachine` trait implemented which can be done using the `#[derive(Behaviors)]` macro. ## Usage -You can find an example that uses both of these macros in the [arbiter-template repository](https://github.com/primitivefinance/arbiter-template). +You can find an example that uses both of these macros in the [arbiter-template repository](https://github.com/anthias-labs/arbiter-template). Similarly, in the Arbiter repo itself, this exact same collection of code is found in the `examples/template/` directory. If you wanted to use the `#[main]` macro alongside the `#[derive(Behaviors)]` macro, you would do so like this: diff --git a/engine/CHANGELOG.md b/engine/CHANGELOG.md index d678978e..ae2a34e5 100644 --- a/engine/CHANGELOG.md +++ b/engine/CHANGELOG.md @@ -6,50 +6,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.4.0](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.3.2...arbiter-engine-v0.4.0) - 2024-04-26 +## [0.4.0](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.3.2...arbiter-engine-v0.4.0) - 2024-04-26 ### Other -- Some repository Tender Loving Care. Should fix release please once merged. ([#959](https://github.com/primitivefinance/arbiter/pull/959)) -- db management ([#922](https://github.com/primitivefinance/arbiter/pull/922)) -- *(deps)* bump tokio-stream from 0.1.14 to 0.1.15 ([#939](https://github.com/primitivefinance/arbiter/pull/939)) +- Some repository Tender Loving Care. Should fix release please once merged. ([#959](https://github.com/anthias-labs/arbiter/pull/959)) +- db management ([#922](https://github.com/anthias-labs/arbiter/pull/922)) +- *(deps)* bump tokio-stream from 0.1.14 to 0.1.15 ([#939](https://github.com/anthias-labs/arbiter/pull/939)) -## [0.3.2](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.3.1...arbiter-engine-v0.3.2) - 2024-02-26 +## [0.3.2](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.3.1...arbiter-engine-v0.3.2) - 2024-02-26 ### Added -- `error!` output from behavior ([#913](https://github.com/primitivefinance/arbiter/pull/913)) +- `error!` output from behavior ([#913](https://github.com/anthias-labs/arbiter/pull/913)) -## [0.3.1](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.3.0...arbiter-engine-v0.3.1) - 2024-02-20 +## [0.3.1](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.3.0...arbiter-engine-v0.3.1) - 2024-02-20 ### Other - update Cargo.toml dependencies -## [0.3.0](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.2.1...arbiter-engine-v0.3.0) - 2024-02-16 +## [0.3.0](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.2.1...arbiter-engine-v0.3.0) - 2024-02-16 ### Added -- *(engine)* optional stream for behaviors ([#899](https://github.com/primitivefinance/arbiter/pull/899)) +- *(engine)* optional stream for behaviors ([#899](https://github.com/anthias-labs/arbiter/pull/899)) ### Other -- refactor engine tests and examples ([#895](https://github.com/primitivefinance/arbiter/pull/895)) +- refactor engine tests and examples ([#895](https://github.com/anthias-labs/arbiter/pull/895)) -## [0.2.1](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.2.0...arbiter-engine-v0.2.1) - 2024-02-15 +## [0.2.1](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.2.0...arbiter-engine-v0.2.1) - 2024-02-15 ### Other - update Cargo.toml dependencies -## [0.2.0](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.1.1...arbiter-engine-v0.2.0) - 2024-02-13 +## [0.2.0](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.1.1...arbiter-engine-v0.2.0) - 2024-02-13 ### Added -- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/primitivefinance/arbiter/pull/880)) +- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/anthias-labs/arbiter/pull/880)) ### Other -- Engine/world from config ([#882](https://github.com/primitivefinance/arbiter/pull/882)) +- Engine/world from config ([#882](https://github.com/anthias-labs/arbiter/pull/882)) -## [0.1.1](https://github.com/primitivefinance/arbiter/compare/arbiter-engine-v0.1.0...arbiter-engine-v0.1.1) - 2024-02-12 +## [0.1.1](https://github.com/anthias-labs/arbiter/compare/arbiter-engine-v0.1.0...arbiter-engine-v0.1.1) - 2024-02-12 ### Other -- remove `PhantomData` ([#868](https://github.com/primitivefinance/arbiter/pull/868)) +- remove `PhantomData` ([#868](https://github.com/anthias-labs/arbiter/pull/868)) -## [0.1.0](https://github.com/primitivefinance/arbiter/releases/tag/arbiter-engine-v0.1.0) - 2024-01-23 +## [0.1.0](https://github.com/anthias-labs/arbiter/releases/tag/arbiter-engine-v0.1.0) - 2024-01-23 ### Added - `World::stop()` method diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 43c6daec..aab410a2 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -11,8 +11,8 @@ license = "Apache-2.0" keywords = ["ethereum", "evm", "emulator", "testing", "smart-contracts"] readme = "../README.md" documentation = "https://docs.rs/arbiter-engine" -homepage = "https://github.com/primitivefinance/arbiter" -repository = "https://github.com/primitivefinance/arbiter" +homepage = "https://github.com/anthias-labs/arbiter" +repository = "https://github.com/anthias-labs/arbiter" [dependencies] arbiter-bindings.workspace = true diff --git a/engine/src/agent.rs b/engine/src/agent.rs index 67dc927e..8a6c921e 100644 --- a/engine/src/agent.rs +++ b/engine/src/agent.rs @@ -103,8 +103,8 @@ impl AgentBuilder { /// /// - `engine`: The state machine engine to be added to the agent builder. /// This engine must - /// implement the `StateMachine` trait and is expected to be provided as a - /// boxed trait object to allow for dynamic dispatch. + /// implement the `StateMachine` trait and is expected to be provided as a + /// boxed trait object to allow for dynamic dispatch. /// /// # Returns /// diff --git a/engine/src/world.rs b/engine/src/world.rs index af815ff1..272ad1fe 100644 --- a/engine/src/world.rs +++ b/engine/src/world.rs @@ -64,14 +64,14 @@ impl World { /// /// - `C`: The type of the behavior component that each agent will be /// associated with. - /// This type must implement the `CreateStateMachine`, `Serialize`, - /// `DeserializeOwned`, and `Debug` traits. + /// This type must implement the `CreateStateMachine`, `Serialize`, + /// `DeserializeOwned`, and `Debug` traits. /// /// # Arguments /// /// - `config_path`: A string slice that holds the path to the configuration /// file - /// relative to the current working directory. + /// relative to the current working directory. /// /// # Panics /// @@ -81,7 +81,7 @@ impl World { /// - The configuration file cannot be read into a string. /// - The contents of the configuration file cannot be deserialized into the /// expected - /// `HashMap>` format. + /// `HashMap>` format. /// /// # Examples /// diff --git a/macros/CHANGELOG.md b/macros/CHANGELOG.md index 2f46b451..47f9b6f2 100644 --- a/macros/CHANGELOG.md +++ b/macros/CHANGELOG.md @@ -6,25 +6,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.1.4](https://github.com/primitivefinance/arbiter/compare/arbiter-macros-v0.1.3...arbiter-macros-v0.1.4) - 2024-04-26 +## [0.1.4](https://github.com/anthias-labs/arbiter/compare/arbiter-macros-v0.1.3...arbiter-macros-v0.1.4) - 2024-04-26 ### Other -- *(deps)* bump quote from 1.0.35 to 1.0.36 ([#947](https://github.com/primitivefinance/arbiter/pull/947)) +- *(deps)* bump quote from 1.0.35 to 1.0.36 ([#947](https://github.com/anthias-labs/arbiter/pull/947)) -## [0.1.3](https://github.com/primitivefinance/arbiter/compare/arbiter-macros-v0.1.2...arbiter-macros-v0.1.3) - 2024-02-20 +## [0.1.3](https://github.com/anthias-labs/arbiter/compare/arbiter-macros-v0.1.2...arbiter-macros-v0.1.3) - 2024-02-20 ### Other - update Cargo.toml dependencies -## [0.1.2](https://github.com/primitivefinance/arbiter/compare/arbiter-macros-v0.1.1...arbiter-macros-v0.1.2) - 2024-02-15 +## [0.1.2](https://github.com/anthias-labs/arbiter/compare/arbiter-macros-v0.1.1...arbiter-macros-v0.1.2) - 2024-02-15 ### Other -- update docs ([#891](https://github.com/primitivefinance/arbiter/pull/891)) +- update docs ([#891](https://github.com/anthias-labs/arbiter/pull/891)) -## [0.1.1](https://github.com/primitivefinance/arbiter/compare/arbiter-macros-v0.1.0...arbiter-macros-v0.1.1) - 2024-02-13 +## [0.1.1](https://github.com/anthias-labs/arbiter/compare/arbiter-macros-v0.1.0...arbiter-macros-v0.1.1) - 2024-02-13 ### Added -- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/primitivefinance/arbiter/pull/880)) +- *(arbiter-macros)* `#[arbiter_macros::main]` and a project example ([#880](https://github.com/anthias-labs/arbiter/pull/880)) ### Other -- Engine/world from config ([#882](https://github.com/primitivefinance/arbiter/pull/882)) +- Engine/world from config ([#882](https://github.com/anthias-labs/arbiter/pull/882))