SecretNetwork icon indicating copy to clipboard operation
SecretNetwork copied to clipboard

Remove cosmwasm "iterator" feature

Open Cashmaney opened this issue 4 years ago • 2 comments

We don't implement "db_scan", so usage of iterator functions will fail

cosmwasm-std = { git = "https://github.com/enigmampc/SecretNetwork", tag = "v1.0.0", features = ["iterator"] }

Should be not be allowed

Cashmaney avatar Nov 24 '20 18:11 Cashmaney

Is this for v1.1.x?

assafmo avatar Dec 20 '20 17:12 assafmo

We originally decided to keep the interfaces to reduce friction for people porting contracts from the original cosmwasm runtime. That being said... I think that a compilation error is probably clearer than a runtime error you'll see much later.

related to https://github.com/enigmampc/SecretNetwork/issues/275

reuvenpo avatar Feb 01 '21 14:02 reuvenpo