Skip to content

Commit

Permalink
Region pallet (#33)
Browse files Browse the repository at this point in the history
* Region pallet

* progress

* tests compiling

* rename

* make request

* getting storage key works

* progress

* messy solution

* improvements

* improved solution

* move types & on_timeout

* runtime implementation progress

* compiles

* compiles

* warnings

* fix runtime

* height provider

* resolve some todos

* init tests

* setting record test

* add todos

* rename request status

* correct logic

* refactor

* fix tests

* mock improvements

* clippy fixes

* fix on_timeout

* util read_value

* ismp custom error

* on_accept sanity test

* merge

* move primitives

* merge

* fix

* new tests

* add license

* some refactors

* more refactor

* fix typo

* test: set_record

* test transfer

* test request_region_record

* fix: request_region_record_works

* remove test on_timeout_handles_get_only

* update request_region_record_works

* add events

* cargo fmt

* add more tests

* fix events problem

* check events

* add utility pallet

* cargo fmt

* cargo fmt again

* cargo fmt nightly

* cargo fmt

* Benchmarks (#85)

* WIP: benchmarking

* fix benchmarks

* check events in benchmarks

* cargo fmt

---------

Co-authored-by: Sergej <[email protected]>

* weights for pallet-regions (#87)

* weights for pallet-regions

* add header and template to weights

---------

Co-authored-by: Sergej <[email protected]>

* remove duplicate item

* fmt

* cargo fixes

* rename to codec

* region_id defensive

* dependency fix

* fmt

* small fixes

* Test missing methods (#93)

* test owner

* refactor

* test method: attribute

* test nonfungible transfer

* cargo fmt

* update test for on_timeout

* WIP: tests for on_response

* fix test for invalid id and record

---------

Co-authored-by: Sergej <[email protected]>

* cargo fmt

* fix cargo.toml

* pre merge improvements & additional tests

---------

Co-authored-by: cuteolaf <[email protected]>
  • Loading branch information
Szegoo and cuteolaf authored Apr 24, 2024
1 parent 42937af commit baeee1c
Show file tree
Hide file tree
Showing 20 changed files with 2,018 additions and 286 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
tar -zxvf cargo-tarpaulin-x86_64-unknown-linux-musl.tar.gz -C $HOME/.cargo/bin
cargo tarpaulin --workspace \
-e regionx-node regionx-runtime \
--exclude-files **/mock.rs **/weights/* \
--exclude-files **/mock.rs **/weights/* **/weights.rs \
--out xml
- uses: codecov/[email protected]
Expand Down
Loading

0 comments on commit baeee1c

Please sign in to comment.