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

Port CW3 to Secret #1

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2f21b42
Port CW3 to Secret
apollo-bobby Sep 5, 2022
ce7cce5
Remove debug statements, working comments
apollo-bobby Sep 19, 2022
c01f7f1
More debug cleanup, unused code/import removal, change const -> static
apollo-bobby Sep 20, 2022
9a9ec23
Remove voter insertion in execute_propose
apollo-bobby Sep 20, 2022
267f277
Refactoring and bug fixes
apollo-bobby Sep 21, 2022
9934cdb
Update top-level Cargo.toml
apollo-bobby Sep 21, 2022
d25ae1d
Port cw3-flex-multisig
apollo-bobby Sep 21, 2022
70afacf
WIP
apollo-bobby Oct 3, 2022
9492551
Change serialization from Bincode2 to JSON
apollo-bobby Oct 7, 2022
5543fd4
Move BST to storage-plus
apollo-bobby Nov 1, 2022
48a5522
Fixed bug in list_votes() and list_voters()
apollo-bobby Nov 1, 2022
995c9bc
port snapshot stuff (not map)
apollo-bobby Nov 1, 2022
6d41153
Port CW4-Group to Secret Network
apollo-bobby Nov 2, 2022
778cbf3
Fix bug in list_votes() for cw3-flex
apollo-bobby Nov 2, 2022
d890f21
clean up cw3-flex
apollo-bobby Nov 2, 2022
56f2c1a
chore: update dependencies and address review comments
apollo-bobby Feb 13, 2023
c2c08ed
fix: Make BST iterate from next largest element on miss
apollo-bobby Feb 27, 2023
c7d0eae
test: Fix tests failing due to BST iter behavior
apollo-bobby Feb 27, 2023
1282f06
test: Remove comments and todo!() in cw4 test
apollo-bobby Feb 27, 2023
3077125
test: Remove duplicated BST tests
apollo-bobby Mar 1, 2023
9df8d89
fix: Correct BST iter_from() behavior
apollo-bobby Mar 1, 2023
23e6b88
fix: Properly implement iter_from() and update snapshot module to match
apollo-bobby Mar 2, 2023
42e926f
chore: Update iter_from() usage in contracts
apollo-bobby Mar 2, 2023
91c3224
feat: Add largest() and smallest() to BST
apollo-bobby Mar 3, 2023
065a81f
fix: Partial fix for remove_checkpoint and tests
apollo-bobby Mar 3, 2023
6c4e19d
chore: Remove debug printouts
apollo-bobby Mar 3, 2023
6fbc029
feat: Add permit check for querying
apollo-bobby Mar 7, 2023
11b28a2
fix: Add contract address as allowed token in permit query
apollo-bobby Mar 7, 2023
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
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[workspace]
members = [
"contracts/cw3-fixed-multisig",
"contracts/cw3-flex-multisig",
"contracts/cw20-base",
"packages/controllers",
"packages/cw2",
"packages/cw3",
# "packages/cw4",
"packages/cw4",
"packages/cw20",
#"packages/multi-test",
"packages/storage-plus",
"packages/utils"]

Expand Down
2 changes: 2 additions & 0 deletions contracts/cw3-fixed-multisig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ cw3 = { path = "../../packages/cw3", version = "0.13.4" }
cw-storage-plus = { path = "../../packages/storage-plus", version = "0.13.4" }
cosmwasm-std = { git = "https://github.com/scrtlabs/cosmwasm", branch = "secret" }
schemars = "0.8.1"
#secret-toolkit = { version = "0.4", default-features = false, features = ["utils", "storage", "serialization"] }
apollo-bobby marked this conversation as resolved.
Show resolved Hide resolved
secret-toolkit = { git = "https://github.com/scrtlabs/secret-toolkit", branch = "cosmwasm-v1.0", default-features = false, features = ["utils", "storage", "serialization"]}
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.23" }

Expand Down
Loading