contracts: Allow indeterministic instructions off-chain (#12469)

* Allow indetermistic instructions off-chain

* Apply suggestions from code review

Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>

* fmt

Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
This commit is contained in:
Alexander TheißenandSasha Gryaznov authored and GitHub committed 2022-10-24 17:48:04 +00:00
1 parent d0dcf008ec
commit 3ae4be8662
15 files changed
+926 -169

No files matched your search

@@ -0,0 +1,11 @@
;; Module that contains a float instruction which is illegal in deterministic mode
(module
(func (export "call")
f32.const 1
drop
)
(func (export "deploy")
f32.const 2
drop
)
)