I am trying to test a smart contract via eoslime tool. Using nodeos, but the node is not localhost(default). So, I installed and trying to deploy the smart contract using: eoslime deploy --network.url="http://***.***.***.***:8888" --network.chainId="cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f" It gives the following error:

===== Deployment has started... =====
===== Unsuccessful deployment of deploy.js =====
{"code":500,"message":"Internal Service Error","error":{"code":3040007,"name":"invalid_ref_block_exception","what":"Invalid Reference Block","details":[{"message":"Transaction's reference block did not match. Is this transaction from a different fork?","file":"controller.cpp","line_number":3158,"method":"validate_tapos"},{"message":"","file":"controller.cpp","line_number":3159,"method":"validate_tapos"}]}}

If I check nodeos details it gives correct details using: curl http://***.***.***.***:8888/v1/chain/get_info

Nodeos is running, the transactions are done using cleos but not from eoslime test file. Please help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.