filecoin icon indicating copy to clipboard operation
filecoin copied to clipboard

checking this outside requires an extra load (same for transfer_from)

Open alexytsu opened this issue 2 years ago • 0 comments

    checking this outside requires an extra load (same for transfer_from)

alternatively this logic can be written in the predicate which means it will be checked for each token. this is not so bad if the predicate has the internally pre-loaded hamt available.

Originally posted by @alexytsu in https://github.com/helix-onchain/filecoin/pull/164#discussion_r1042841468

alexytsu avatar Dec 08 '22 01:12 alexytsu