Closed sdpisreddevil closed 8 months ago
Blocker from the balancedRouter
contract update as they send the byte[0]
which was previously null
.
byte[0]
is not handled on the CPFTreasury.tokenFallback
.
Solution:
CPFTreasury
contract upgrade with the support of null byte array. balancedRouter
contract upgrade with removal of byte[0]
Overview
Unable to Swap from ICX to bNUSD Using CPS Contract After Recent Update in "Balanced Router" Contract.
Story
Everything seems same though the router contract has updated one optional parameter but that shouldn't be having issue.
Test Scenarios
Link given/when/then test scenarios here
Acceptance Criteria
swapICXToBnUSD
to CPFTreasury contract, with ICXamount
to swap and_minreceive
to receive the minimum value from the swap