Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion prediction_market/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn setup() -> TestSetup {
// Lever G: the leaderboard now mints PULSE internally (one cross-call from
// market/referral instead of two). It must know the token AND be authorized
// as a minter. This mirrors the exact mainnet upgrade sequence.
leaderboard_client.set_token(&admin, &token_id);
leaderboard_client.set_token_contract(&admin, &token_id);
token_client.set_minter(&leaderboard_id);
// Legacy minter auths kept harmless (market/referral no longer mint directly).
token_client.set_minter(&market_id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"function": {
"contract_fn": {
"contract_address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4",
"function_name": "set_token",
"function_name": "set_token_contract",
"args": [
{
"address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM"
Expand Down Expand Up @@ -898,6 +898,30 @@
"address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDR4"
}
},
{
"key": {
"vec": [
{
"symbol": "MinPoints"
}
]
},
"val": {
"u64": "0"
}
},
{
"key": {
"vec": [
{
"symbol": "MinSlot"
}
]
},
"val": {
"u32": 0
}
},
{
"key": {
"vec": [
Expand Down Expand Up @@ -941,7 +965,7 @@
},
"ext": "v0"
},
"live_until": 199
"live_until": 6307300
},
{
"entry": {
Expand Down Expand Up @@ -1772,7 +1796,7 @@
},
"ext": "v0"
},
"live_until": 199
"live_until": 6307300
}
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"generators": {
"address": 9,
"nonce": 0,
Expand Down Expand Up @@ -151,7 +151,7 @@
"function": {
"contract_fn": {
"contract_address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAITA4",
"function_name": "set_token",
"function_name": "set_token_contract",
"args": [
{
"address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM"
Expand Down Expand Up @@ -471,6 +471,8 @@
}
]
],
[],
[],
[]
],
"ledger": {
Expand Down Expand Up @@ -968,6 +970,30 @@
"address": "CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDR4"
}
},
{
"key": {
"vec": [
{
"symbol": "MinPoints"
}
]
},
"val": {
"u64": "0"
}
},
{
"key": {
"vec": [
{
"symbol": "MinSlot"
}
]
},
"val": {
"u32": 0
}
},
{
"key": {
"vec": [
Expand Down Expand Up @@ -1011,7 +1037,7 @@
},
"ext": "v0"
},
"live_until": 199
"live_until": 6307300
},
{
"entry": {
Expand Down Expand Up @@ -2195,9 +2221,9 @@
},
"ext": "v0"
},
"live_until": 199
"live_until": 6307300
}
]
},
"events": []
}
}
Loading