Revision 2d5acbfa91dde2e6d2fff91afa1122f310ee1c9e authored by martoon on 28 August 2023, 23:20:02 UTC, committed by martoon on 29 August 2023, 00:08:26 UTC
Instead of having a `failed` flag, carry stack as enum. The point is that we can check that enum once, and then carry the inner `Stack` value around. Changes: * Added `FStack` that is a `Option`-like enum wrapping `Stack`. * `debug_assert` went away. * Pattern-matching macro had to be expanded to include the failing stack too, that's necessary for failing. * `protected` gets hard to implement, I had to copy-paste code + it performs unnecessary check.
1 parent b23eb04
.dockerignore
## /!\ /!\ Update .gitignore accordingly /!\ /!\
.DS_Store
__pycache__
**/*.pyc
**/_build
_build_rust
_opam
_docker_build
_snoop
docs/api/tezos-client.html
docs/api/tezos-admin-client.html
tezos-node
tezos-tx-rollup-*
tezos-protocol-compiler
tezos-client
tezos-admin-client
tezos-baker-*
tezos-endorser-*
tezos-accuser-*
tezos-proxy-server
tezos-signer
tezos-smart-rollup-node-*
tezos-smart-rollup-client-*
octez-node
octez-tx-rollup-*
octez-protocol-compiler
octez-client
octez-admin-client
octez-baker-*
octez-endorser-*
octez-accuser-*
octez-proxy-server
octez-signer
octez-smart-rollup-node*
octez-smart-rollup-client-*
octogram
scripts/opam-test-all.sh.DONE
scripts/create_genesis/src
docs/introduction/readme.rst
docs/api/errors.rst
docs/0*/rpc.rst
docs/alpha/rpc.rst
docs/shell/rpc.rst
docs/shell/p2p_api.rst
src/bin_client/test/LOG.*
_coverage_output/*.coverage
_coverage_report
**/*.install
**/.merlin
**/*~
**/\#*\#
**/*.rej
**/*.orig
.idea
.vscode
# .venv directories are created by poetry if the option in-project is set to
# true.
**/.venv
**/.mypy_cache/
## Not in .gitignore
.git
.gitignore
.gitlab-ci.yml
# Rust
target
evm_kernel.wasm
sequenced_kernel.wasm
# Terraform
# Local .terraform directories
**/.terraform/*
# .tfstate files
*.tfstate
*.tfstate.*
# Crash log files
crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json
# Include override files you do wish to add to version control using negated pattern
# !example_override.tf
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
# Ignore CLI configuration files
.terraformrc
terraform.rc
# Terraform lock files
*.lock.hcl
Computing file changes ...