ergoplatform / oracle-core

Core off-chain component of Oracle Pools
Apache License 2.0
62 stars 37 forks source link

Mint new refresh token in `prepare-update` command in a separated tx from new refresh box #180

Closed greenhat closed 1 year ago

greenhat commented 1 year ago

Discovered in #177

With R6 filled in the minting box with token description details, the refresh contract blows up by filtering input boxes by R6 as oracle boxes. Thus treating itself as an oracle box and failing to get a Long value out of R6 (it's set to a byte array on token minting).