Skip to content

Remove ignore of create2collisionwithSelfdestructSameBlock ref test #2416

@amkCha

Description

@amkCha

The test should have been fixed by

Consensys/linea-specification#191

But it hasn't :(

The goal of this task is to remove this bit in BlockchainReferenceTestTools

 // Pending deployment number fix
 // Issue #https://github.com/Consensys/linea-specification/issues/191
 PARAMS.ignore("create2collisionwithSelfdestructSameBlock.json");

On Cancun, one constraint was removed Consensys/linea-constraints@1cfd438, but now some checks in java are failing like

https://github.com/Consensys/linea-tracer/blob/arith-dev/arithmetization/src/main/java/net/consensys/linea/zktracer/module/hub/section/txInitializationSection/TxInitializationSection.java#L132

https://github.com/Consensys/linea-tracer/blob/arith-dev/arithmetization/src/main/java/net/consensys/linea/zktracer/module/hub/Hub.java#L896

For the other forks, the constraint was not removed, so the failing message is the same as before

Name: create2collisionwithSelfdestructSameBlock_Merge[Merge]

java.lang.IllegalArgumentException: RomChunk with:
		address = 0xec0e71ad0a90ffe1909d27dac207f7680abba42d
		deployment number = 1
		deployment status = true
	not found
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:142)
	at net.consensys.linea.BlockchainReferenceTestTools.executeTest(BlockchainReferenceTestTools.java:863)
	at net.consensys.linea.generated.blockchain.BlockchainReferenceTest_606.execution(BlockchainReferenceTest_606.java:69)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions