Hot answers tagged

3

The best documentation available for this is: http://tezos.gitlab.io/developer/proposal_testing.html http://tezos.gitlab.io/developer/entering_alpha.html https://gitlab.com/romain.nl/howtos/-/blob/master/HOWTO-launch-a-test-network.md To summarize, you'll want to: patch src/proto_alpha use scripts/snapshot_alpha_and_link.sh to copy the protocol into a new ...


3

You could use Flextesa In a docker-compose file, it should look like the following: version: '3.6' services: sandbox: image: tqtezos/flextesa:20210316 command: edobox start -P 8732 container_name: sandbox environment: block_time: 1 TEZOS_CLIENT_UNSAFE_DISABLE_DISCLAIMER: Y ports: - "8732:8732" It will bake ...


1

https://smartpy.io/nodes florencenet is a dead testing network, that's why it doesn't work. You need to use a current testing network RPC. The current testing network mimicking mainnet is hangzhounet. If you want to test the next protocol, use ithacanet RPC.


1

sp.catch_exception is used to test when you abort the contract execution with FAILWITH. t is the expected type of the value at the top of the stack when you call sp.failwith(...), <>.open_some(...), etc... As you could probably notice, SmartPy test interpreter already detects the type inconsistency and gives you a verbose error describing the problem. ...


Only top voted, non community-wiki answers of a minimum length are eligible