Uh oh!
There was an error while loading. Please reload this page.
Fix include_network_cut parameter - #9555
Conversation
|
| price = gate.get("usdc_purchase", {}).get("price", None) | ||
| splits = gate.get("usdc_purchase", {}).get("splits", []) | ||
| original_splits = gate.get("usdc_purchase", {}).get("splits", []) | ||
| splits = [orig.copy() for orig in original_splits] |
There was a problem hiding this comment.
do we want to deep copy here just in case this gets more complex?
There was a problem hiding this comment.
maybe? though that's a 20x perf hit so idk if it's worth it yet
[eed6296] Fix include_network_cut parameter (#9555) Marcus Pasell [48b8641] Fix purchasers endpoint (#9549) Andrew Mendelsohn [53deb4b] Remove marshalling for nft-gated-signatures (#9550) Randy Schott [6b170d0] [PAY-3375] get chat endpoint correctly filters for audience:type:id (#9545) Steve Perkins [84f4781] [PAY-3380] Skip geo indexing on local dev stack (#9544) Reed [ba1aaed] Fix trending reward notifs (#9532) Isaac Solo
Description
access-infoendpoint_get_extended_purchase_gate()method was mutating the passed in "gate" info splits, causing the amounts to be wrong for theaccess-infoendpoint.How Has This Been Tested?
Tested that the endpoint returns as expected when run locally. Still need to test E2E, but need to deploy a "staking bridge" (probably just default to the local owner wallet) locally first