casper-network / condor-info

Casper 2.0 technical outreach
Apache License 2.0
3 stars 2 forks source link

Possible unit testing issue #58

Open melpadden opened 1 month ago

melpadden commented 1 month ago

Original message in Condor TG channel

Hello, getting this error while trying to deploy a contract in a test environment

error: Some( WasmPreprocessing( OperationForbiddenByGasRules, ),

Could someone explain exactly what it means and how to deal with it? Thanks

Not running a network, just executing tests in a casper rust project. Using the following dependencies

casper-types = { git = "https://github.com/casper-network/casper-node.git", branch = "release-2.0.0-rc3", default-features = false } casper-engine-test-support = { git = "https://github.com/casper-network/casper-node.git", branch = "release-2.0.0-rc3", default-features = false } casper-execution-engine = { git = "https://github.com/casper-network/casper-node.git", branch = "release-2.0.0-rc3", default-features = false } casper-storage = { git = "https://github.com/casper-network/casper-node.git", branch = "release-2.0.0-rc3", default-features = false }

EdHastingsCasperAssociation commented 1 month ago

Most likely due to floating point arithmetic, which we don't support.