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

User simulation tests #908

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9dade8a
fix propotional apy cap
1xstj Jan 20, 2025
d98a18c
add more tests
1xstj Jan 20, 2025
c223f10
wip
1xstj Jan 20, 2025
dc02f44
wip
1xstj Jan 20, 2025
5cab5f3
cleanup math
1xstj Jan 20, 2025
b3c20c0
add more tests
1xstj Jan 20, 2025
eb9cf50
add more tests
1xstj Jan 20, 2025
e4ea131
fix tests
1xstj Jan 20, 2025
21df5e3
clippy
1xstj Jan 20, 2025
2774caa
cleanup wip
1xstj Jan 21, 2025
c89236e
Merge branch 'main' into feat/fix-rewards-formula
shekohex Jan 21, 2025
f8458f4
Merge branch 'main' into feat/fix-rewards-formula
shekohex Jan 21, 2025
c284446
more tests passing
1xstj Jan 23, 2025
d504e9c
more tests passing
1xstj Jan 23, 2025
166e453
fix expired locks
1xstj Jan 23, 2025
c9ded14
all tests passing
1xstj Jan 23, 2025
58313ff
cleanup
1xstj Jan 23, 2025
2673a22
Merge branch 'main' of github.com:tangle-network/tangle into feat/fix…
1xstj Jan 23, 2025
e01470f
add proper error type
1xstj Jan 23, 2025
e978c3d
cleanup reward vault creation
1xstj Jan 24, 2025
dbb8fad
fix pot creation accounts
1xstj Jan 26, 2025
4d4b8fc
split functions as per role
1xstj Jan 26, 2025
058693a
transfer from pot
1xstj Jan 26, 2025
0370fbc
implement decay rate
1xstj Jan 26, 2025
c3cb573
add decay tests
1xstj Jan 26, 2025
8274238
cleanup
1xstj Jan 26, 2025
f6ae13c
cleanup
1xstj Jan 26, 2025
7a08155
chore: update tangle-subxt
1xstj Jan 27, 2025
62c0e39
chore: update js types
1xstj Jan 27, 2025
9a00943
bump to 1.2.6
1xstj Jan 27, 2025
723ef3c
setup user simulation
1xstj Jan 28, 2025
b8e2498
users model
1xstj Jan 30, 2025
a028ef4
wip
1xstj Jan 31, 2025
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
34 changes: 17 additions & 17 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,5 +1,5 @@
[workspace.package]
version = "1.2.5"
version = "1.2.6"
authors = ["Tangle Foundation."]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 0 additions & 2 deletions pallets/multi-asset-delegation/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ use tangle_primitives::types::RoundIndex;

pub mod delegator;
pub mod operator;
pub mod rewards;

pub use delegator::*;
pub use operator::*;
pub use rewards::*;

pub type BalanceOf<T> =
<<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
Expand Down
43 changes: 0 additions & 43 deletions pallets/multi-asset-delegation/src/types/rewards.rs

This file was deleted.

Loading