Skip to content

feature: nympool contract #5464

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

Draft
wants to merge 38 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f4a19ad
added unit tests for bls12 hashing
jstuczyn Jan 23, 2025
19bb761
picked changes from 1c53679a2ce7d4a176aa30a4b86ad05a77e9c614 to upgra…
jstuczyn Feb 14, 2025
40c9aac
updated contracts to cosmwasm2.2 and fixed build issues
jstuczyn Feb 14, 2025
0e6d1bb
removed old coconut contract code + additional dkg fixes
jstuczyn Feb 14, 2025
811de30
replace deprecated to_binary and from_binary functions
jstuczyn Feb 14, 2025
222297e
mixnet contract tests compiling
jstuczyn Feb 17, 2025
9e792a5
made other contract tests compile
jstuczyn Feb 17, 2025
9257da7
fixed remaining tests
jstuczyn Feb 17, 2025
8f5d493
allow usage of manually dispatching contract replies
jstuczyn Feb 17, 2025
fad76ea
nym-api test fixes
jstuczyn Feb 17, 2025
b25dd16
removed old toolchain from contracts CI
jstuczyn Feb 17, 2025
69806e2
linter fixes
jstuczyn Feb 17, 2025
52cc8e8
regenerated contract schema
jstuczyn Feb 17, 2025
04813b8
fixed easy_addr
jstuczyn Feb 17, 2025
ebedcfa
further license fixes
jstuczyn Feb 17, 2025
e6ead5e
initialised nym-pool contract and updated all bls12_381 to make it po…
jstuczyn Jan 23, 2025
d94aeb4
create scaffolding for tests
jstuczyn Jan 23, 2025
f1fd720
ability to control the contract admin
jstuczyn Jan 24, 2025
1d02f48
introducing contract grants
jstuczyn Jan 27, 2025
251a820
grant type validation
jstuczyn Jan 30, 2025
18710fc
basic grant operations + stubs for other messages
jstuczyn Feb 4, 2025
f354573
added queries
jstuczyn Feb 5, 2025
addf185
use transaction stubs
jstuczyn Feb 5, 2025
aa2c5a4
added expiration information to grant queries
jstuczyn Feb 5, 2025
26075b3
setting initial grant state based on the current environment
jstuczyn Feb 5, 2025
4ff9c74
allowance logic for attempting to spend part of a grant
jstuczyn Feb 6, 2025
2b13ebd
implemented all remaining transactions
jstuczyn Feb 6, 2025
a834db7
made public api for coin locking perform validation
jstuczyn Feb 7, 2025
082cd64
tests for locked tokens storage
jstuczyn Feb 7, 2025
49e5781
nympool storage tests
jstuczyn Feb 11, 2025
14713e3
added messages for changing granter set
jstuczyn Feb 12, 2025
ac18294
tests and fixes for sufficient tokens when inserting grants
jstuczyn Feb 12, 2025
21e0190
tests for initial state + more bugfixes
jstuczyn Feb 12, 2025
632a833
queries tests
jstuczyn Feb 13, 2025
3a6e599
additional tests for transactions and fixes
jstuczyn Feb 13, 2025
677b59d
post rebase fixes
jstuczyn Feb 17, 2025
4f75889
updated contract dependencies
jstuczyn Feb 17, 2025
5063bc5
removed redundant wasm constructor
jstuczyn Feb 17, 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
1 change: 0 additions & 1 deletion .github/workflows/ci-contracts-upload-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77
target: wasm32-unknown-unknown
override: true

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish-nym-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ name: publish-nym-contracts
on:
workflow_dispatch:
release:
types: [created]
types: [ created ]

jobs:
build:
if: ${{ (startsWith(github.ref, 'refs/tags/nym-contracts-') && github.event_name == 'release') || github.event_name == 'workflow_dispatch' }}
runs-on: [self-hosted, custom-ubuntu-20.04]
runs-on: [ self-hosted, custom-ubuntu-20.04 ]
steps:
- uses: actions/checkout@v4

- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77
target: wasm32-unknown-unknown
override: true

Expand Down
Loading
Loading