-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move packages to 1.5.0. removing backtrace feature, and upgrad…
…ing to syn2
- Loading branch information
1 parent
eb981bb
commit 1b421f5
Showing
20 changed files
with
114 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ members = [ | |
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "1.4.0" | ||
version = "1.5.0" | ||
authors = ["PFC <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.73.0" | ||
|
@@ -49,26 +49,29 @@ serde_json = "1.0.113" | |
schemars = { version = "0.8.16" } | ||
proc-macro2 = "1.0.51" | ||
quote = "1.0.23" | ||
syn = "1.0.108" | ||
syn = "2.0.55" | ||
#syn = "1.0.108" | ||
thiserror = "1.0.57" | ||
kujira = "0.8.2" | ||
pfc-whitelist-derive = { version = "1.4.0", path = "packages/pfc-whitelist-derive" } | ||
pfc-whitelist = { version = "1.4.0", path = "packages/pfc-whitelist" } | ||
pfc-fee-split = { version = "1.4.0", path = "packages/pfc-fee-split" } | ||
pfc-dust-collector-derive = { version = "1.4.0", path = "packages/pfc-dust-collector-derive" } | ||
pfc-dust-collector = { version = "1.4.0", path = "packages/pfc-dust-collector" } | ||
kujira = "1.0.1" | ||
pfc-whitelist-derive = { path = "packages/pfc-whitelist-derive" } | ||
pfc-whitelist = { path = "packages/pfc-whitelist" } | ||
pfc-fee-split = { path = "packages/pfc-fee-split" } | ||
pfc-dust-collector-derive = { path = "packages/pfc-dust-collector-derive" } | ||
pfc-dust-collector = { path = "packages/pfc-dust-collector" } | ||
pfc-dust-collector-kujira = { path = "packages/pfc-dust-collector-kujira" } | ||
pfc-dust-collector-migaloo = { path = "packages/pfc-dust-collector-migaloo" } | ||
pfc-treasurechest = { path = "packages/pfc-treasurechest" } | ||
pfc-vault={path="packages/pfc-vault"} | ||
|
||
pfc-steak = "3.0.8" | ||
pfc-steak = "3.0.12" | ||
getrandom = { version = "0.2", features = ["js"] } | ||
prost = { version = "0.12.3", default-features = false, features = ["prost-derive"] } | ||
prost-types = { version = "0.12.3", default-features = false } | ||
#osmosis-std-derive = "0.20.1" | ||
osmosis-std-derive = "0.15.3" | ||
#osmosis-std-derive = {version = "0.20.1", features = ["backtraces"]} | ||
protobuf = { version = "3.3.0", features = ["with-bytes"] } | ||
cw-multi-test = { version="0.20.0" , features = ["cosmwasm_1_2"]} | ||
cw-multi-test = { version = "0.20.0", features = ["cosmwasm_1_2"] } | ||
[profile.release] | ||
opt-level = 3 | ||
debug = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
3d74986751e5ffaee368e2fef48600a2cec7475cf34180bf4416f0bf38f7511b pfc_astroport_generator.wasm | ||
f40384b425a086157d897484ba4848730e2a860304cf09b77b5dc6d6727165e6 pfc_dust_collector_kujira_contract-aarch64.wasm | ||
7403339ec6e0f3b87b4525d9afb529f79f567d427bfaa158fe32a54d7cb8ce31 pfc_dust_collector_kujira_contract-aarch64.wasm | ||
c4a5ace2aa59107cc900b9ed73c470f704d2aad332c42cd12704cbd2b14c8ef3 pfc_dust_collector_kujira_contract.wasm | ||
65054d14e4423b2d4d584056b339951aeb790dea6fbb01a88276140d0f2505e2 pfc_fee_splitter-aarch64.wasm | ||
a45b6337b72148a9f4c15b43ef9a896a1b05ea3f0c7f96c8b26dfcfef5f0551b pfc_fee_splitter-aarch64.wasm | ||
16b8a6c60398f456080519fb7230f8c7ea9eec74da266942ad974de0b6bfff36 pfc_fee_splitter.wasm | ||
d00b5a161862ed6af08bfd3dbf9129619a71cb6ba40afd77d540f69e949922c5 pfc_treasurechest_contract-aarch64.wasm | ||
68ee202f3e5f57ba1fa146b1d51aef6efdc42add64e1051b68a8a48d6735031e pfc_treasurechest_contract-aarch64.wasm | ||
b8009a8b92383848dd4ad6d7df30c03a22811a5f8d98dda8c4ea6847457b6550 pfc_treasurechest_contract.wasm | ||
ee9bfeaa6603379426f493e96f0f8916a6fe4ad7d6bb354e8b649b9d785a4382 pfc_vault_contract-aarch64.wasm | ||
8552572b68e768a1706a99c956c7bc60359d567ca4ed009b19dc5c7ede85450e pfc_vault_contract-aarch64.wasm | ||
6f7a425ef645219f585ff762033f43b47900f33920f56f5827d281da5e1fab19 pfc_vault_contract.wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
|
||
osmosisd tx wasm store ./artifacts/pfc_fee_splitter.wasm \ | ||
--from osmo1ezgx7dhm2zag0lplje68j47cx9e8nft44k9f07r7qp7m7uc5u8ysn482ps \ | ||
--yes --gas-prices 0.025uosmo --gas-adjustment 1.7 --gas auto --generate-only > prepared-tx.json | ||
|
||
osmosisd tx authz exec prepared-tx.json --from pfc-alt --gas auto --gas-adjustment 1.3 --gas-prices 0.02uosmo | ||
# code-id 549 | ||
|
||
|
||
json=$(cat test_files/osmosis_instantiate_feesplit.json) | ||
|
||
osmosisd tx wasm instantiate 549 "${json}" --admin osmo1lu92zj8q6cmrptu09rp3343x9969r9qr4w9r7h --label bosmo-feesplit-1 --from boneLunaAdmin --gas-prices 0.025uosmo --gas-adjustment 1.7 --gas auto --amount 1000000uosmo | ||
|
||
fee_address="osmo1ctrfxgxdjqgd0usaepzdan2razpd3sge7jvckakh036yzm24ymgsnktjf8" | ||
|
||
|
||
osmosisd query wasm cs smart $fee_address '{"allocations":{}}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
[package] | ||
name = "pfc-vault" | ||
version = "0.3.0" | ||
authors = ["PFC","Valkyrie Protocol"] | ||
edition = "2021" | ||
version = { workspace = true } | ||
authors = ["PFC", "Valkyrie Protocol"] | ||
edition = { workspace = true } | ||
description = "Definition and types for the Valkyrie" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/PFC-Validator/PFC-fee-split" | ||
homepage = "https://PFC.zone" | ||
license = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
[features] | ||
# for quicker tests, cargo test --lib | ||
# for more explicit tests, cargo test --features=backtraces | ||
backtraces = ["cosmwasm-std/backtraces"] | ||
#backtraces = ["cosmwasm-std/backtraces"] | ||
|
||
[dependencies] | ||
serde = { version = "1.0.147", default-features = false, features = ["derive"] } | ||
schemars = { version = "0.8.10" } | ||
cosmwasm-std = { version = "1.0.0" } | ||
serde = { workspace = true } | ||
schemars = { workspace = true } | ||
cosmwasm-std = { workspace = true } | ||
#cw-storage-plus = { version = "1.0.0", features = ["iterator"] } | ||
cw20 = { version = "1.0.0" } | ||
thiserror = "1.0.37" | ||
cw-controllers = "1.0.0" | ||
cw20 = { workspace = true } | ||
thiserror = { workspace = true } | ||
cw-controllers = { workspace = true } | ||
|
||
[dev-dependencies] | ||
cosmwasm-schema = { version = "1.0.0" } | ||
cosmwasm-schema = { workspace = true } | ||
#cosmwasm-storage = { version = "1.0.0", features = ["iterator"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "pfc-fee-split", | ||
"gov_contract": "osmo1lu92zj8q6cmrptu09rp3343x9969r9qr4w9r7h", | ||
"allocation": [ | ||
{ | ||
"name": "admin", | ||
"allocation": 1, | ||
"send_after": { | ||
"denom": "uosmo", | ||
"amount": "1000000" | ||
}, | ||
"send_type": { | ||
"Wallet": { | ||
"receiver": "osmo1lu92zj8q6cmrptu09rp3343x9969r9qr4w9r7h" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|