-
Notifications
You must be signed in to change notification settings - Fork 279
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
Remove Torii global state #1725
Labels
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
Comments
appetrosyan
added
the
iroha2-dev
The re-implementation of a BFT hyperledger in RUST
label
Dec 14, 2021
mversic
added a commit
that referenced
this issue
Dec 14, 2021
* implement add_state macro_rules and remove `ToriiState` Signed-off-by: Marin Veršić <marin.versic101@gmail.com> * split router implementations in Torii for easier testing Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
s8sato
added a commit
to s8sato/iroha
that referenced
this issue
Dec 27, 2021
Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com>
s8sato
added a commit
to s8sato/iroha
that referenced
this issue
Dec 27, 2021
Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com>
s8sato
added a commit
to s8sato/iroha
that referenced
this issue
Dec 28, 2021
Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com>
This was referenced Dec 28, 2021
s8sato
added a commit
that referenced
this issue
Dec 28, 2021
* Fix JSONs according to #1743 `Domain` struct change Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com> * Fix `status` term to `telemetry` according to #1725 Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com> * Fix `status_address` Signed-off-by: s8sato <49983831+s8sato@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As it is implemented at the moment, Torii has global state shared by all filters due to the limitations of the
add_state
method. The code is somewhat convoluted because there is the same set of variables in bothTorii
andToriiState
.Make changes to
add_state
(implement it asmacro_rules
) to support fine tuning of what filters receive as stateThe text was updated successfully, but these errors were encountered: