Skip to content

Test Blobgasfee Opcode

Documentation for tests/cancun/eip7516_blobgasfee/test_blobgasfee_opcode.py@8db70f93.

Generate fixtures for these test cases for Cancun with:

fill -v tests/cancun/eip7516_blobgasfee/test_blobgasfee_opcode.py --fork Cancun

BLOBBASEFEE opcode tests.

Tests for EIP-7516: BLOBBASEFEE opcode.

Test Functions Overview

Name Type Cases (Cancun) Description
test_blobbasefee_before_fork state_test 1 Tests that the BLOBBASEFEE opcode results on exception when called before
test_blobbasefee_during_fork blockchain_test 1 Tests that the BLOBBASEFEE opcode results on exception when called before
test_blobbasefee_out_of_gas state_test 2 Tests that the BLOBBASEFEE opcode fails with insufficient gas.
test_blobbasefee_stack_overflow state_test 2 Tests that the BLOBBASEFEE opcode produces a stack overflow by using it