Skip to content

Commit

Permalink
bot: Update SNS Aggregator Response (#5928)
Browse files Browse the repository at this point in the history
# Motivation
We would like to keep the ProdLaunchpad.spec up to date with mainnet
data.

# Changes
* Update the files used for the fetch mock in ProdLaunchpad.spec.

# Tests
Only test changes.

Co-authored-by: gix-bot <[email protected]>
  • Loading branch information
pr-automation-bot-public[bot] and gix-bot authored Dec 5, 2024
1 parent 069f110 commit 0852489
Show file tree
Hide file tree
Showing 4 changed files with 180 additions and 47 deletions.
34 changes: 29 additions & 5 deletions frontend/src/tests/workflows/Launchpad/sns-agg-page-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@
"function_type": {
"NativeNervousSystemFunction": {}
}
},
{
"id": 15,
"name": "Advance SNS target version",
"description": "Proposal to advance the target version of this SNS.",
"function_type": {
"NativeNervousSystemFunction": {}
}
}
]
},
Expand Down Expand Up @@ -282,7 +290,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 799999976530394000,
"icrc1_total_supply": 799999974702594000,
"swap_params": {
"params": {
"min_participant_icp_e8s": 10000000,
Expand Down Expand Up @@ -519,6 +527,14 @@
"NativeNervousSystemFunction": {}
}
},
{
"id": 15,
"name": "Advance SNS target version",
"description": "Proposal to advance the target version of this SNS.",
"function_type": {
"NativeNervousSystemFunction": {}
}
},
{
"id": 1000,
"name": "Upgrade local_user_index canisters",
Expand Down Expand Up @@ -1086,7 +1102,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 10122996604514660,
"icrc1_total_supply": 10123995617739948,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down Expand Up @@ -1816,7 +1832,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 609501443320431,
"icrc1_total_supply": 610589962133969,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down Expand Up @@ -2036,6 +2052,14 @@
"NativeNervousSystemFunction": {}
}
},
{
"id": 15,
"name": "Advance SNS target version",
"description": "Proposal to advance the target version of this SNS.",
"function_type": {
"NativeNervousSystemFunction": {}
}
},
{
"id": 1000,
"name": "grant_permission",
Expand Down Expand Up @@ -2213,7 +2237,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 102799333699963400,
"icrc1_total_supply": 102895037362856290,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down Expand Up @@ -2862,7 +2886,7 @@
]
],
"icrc1_fee": [100000000],
"icrc1_total_supply": 926739866561743900,
"icrc1_total_supply": 926912399675751300,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down
30 changes: 23 additions & 7 deletions frontend/src/tests/workflows/Launchpad/sns-agg-page-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
]
],
"icrc1_fee": [10000],
"icrc1_total_supply": 98205071663582060,
"icrc1_total_supply": 98205625621905220,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000278,
Expand Down Expand Up @@ -843,7 +843,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 100894224451006780,
"icrc1_total_supply": 100900495246482000,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down Expand Up @@ -1373,6 +1373,14 @@
"NativeNervousSystemFunction": {}
}
},
{
"id": 15,
"name": "Advance SNS target version",
"description": "Proposal to advance the target version of this SNS.",
"function_type": {
"NativeNervousSystemFunction": {}
}
},
{
"id": 1002,
"name": "transfer DKP",
Expand Down Expand Up @@ -1538,7 +1546,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 50384594490521780,
"icrc1_total_supply": 50390095680116200,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down Expand Up @@ -1752,6 +1760,14 @@
"NativeNervousSystemFunction": {}
}
},
{
"id": 15,
"name": "Advance SNS target version",
"description": "Proposal to advance the target version of this SNS.",
"function_type": {
"NativeNervousSystemFunction": {}
}
},
{
"id": 1000,
"name": "commit_proposed_batch",
Expand Down Expand Up @@ -1927,7 +1943,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 9961346334426824,
"icrc1_total_supply": 9961349260568336,
"swap_params": {
"params": {
"min_participant_icp_e8s": 100000000,
Expand Down Expand Up @@ -2320,7 +2336,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 10088713761391748,
"icrc1_total_supply": 10095855101312652,
"swap_params": {
"params": {
"min_participant_icp_e8s": 1000000000,
Expand Down Expand Up @@ -2709,7 +2725,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 12633063912717414,
"icrc1_total_supply": 12647472446219800,
"swap_params": {
"params": {
"min_participant_icp_e8s": 500000000,
Expand Down Expand Up @@ -4144,7 +4160,7 @@
]
],
"icrc1_fee": [100000],
"icrc1_total_supply": 99727028842885550,
"icrc1_total_supply": 99715900534972980,
"swap_params": {
"params": {
"min_participant_icp_e8s": 800000000,
Expand Down
Loading

0 comments on commit 0852489

Please sign in to comment.