Skip to content

Commit

Permalink
Add shared escrow with remainning accounts (#82)
Browse files Browse the repository at this point in the history
* wip

* wip

* Add shared escrow from M2

* Add post distribution handling

* Add comment

* Add handling for mip1 and ocp

* Add tests

* Add set shared escrow in the test setup

* Change the test config

* Add tests

* Fix tests

* Fix bump

* Add cap and address comments

* fmt

* Add more tests

* use non optional fields

* Address comments

* Fix tests

* Fix tests

* remove unused files

* Add tests

* Address comments

* Use counter for shared escrow

* Fix idl

* Fix test

* Add comments

---------

Co-authored-by: JeremyLi28 <[email protected]>
  • Loading branch information
nothing0012 and JeremyLi28 authored Feb 12, 2024
1 parent 2873883 commit 4d50d40
Show file tree
Hide file tree
Showing 33 changed files with 23,039 additions and 21 deletions.
5 changes: 4 additions & 1 deletion Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ types = "sdk/src/idl/"
[test.validator]
url = "https://api.devnet.solana.com"

[[test.validator.clone]]
address = "M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K" # m2

[[test.validator.clone]]
address = "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" # metadata

Expand All @@ -31,7 +34,7 @@ address = "6Huqrb4xxmmNA4NufYdgpmspoLmjXFd3qEfteCddLgSz" # ocp: policy (allow al
mmm = "mmm3XBJg5gk8XJxEKBvdgptZz6SgK4tXvn36sodowMc"

[scripts]
test = "npx ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.spec.ts"
test = "npx ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"

[toolchain]
anchor_version = "0.29.0"
Expand Down
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4d50d40

Please sign in to comment.