Skip to content

Acceptance tests fail with non-zero realm #11427

@steven-sheehy

Description

@steven-sheehy

Description

Testing non-zero realm shows we still encode shard and realm into an EVM address

Steps to reproduce

  • Set network to realm=1, shard=1
  • Run acceptance tests

Additional context

error: org.opentest4j.AssertionFailedError: 
expected: "0x00000001000000000000000100000000000006e9"
 but was: "0x00000000000000000000000000000000000006e9"
	at org.hiero.mirror.test.e2e.acceptance.steps.BaseContractFeature.verifyContractExecutionResults(BaseContractFeature.java:92)
	at org.hiero.mirror.test.e2e.acceptance.steps.EthereumFeature.verifyContractExecutionResults(EthereumFeature.java:157)
	at org.hiero.mirror.test.e2e.acceptance.steps.BaseContractFeature.verifyContractExecutionResultsById(BaseContractFeature.java:63)
	...(69 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
	at org.hiero.mirror.test.e2e.acceptance.steps.BaseContractFeature.verifyContractExecutionResultsById(BaseContractFeature.java:63)
	at org.hiero.mirror.test.e2e.acceptance.steps.EthereumFeature.verifyDeployedContractMirror(EthereumFeature.java:93)
	at ✽.the mirror node REST API should verify the ethereum called contract function(classpath:features/contract/ethereum.feature:11)

Hedera network

other

Version

v0.132.0

Operating system

None

Metadata

Metadata

Assignees

Labels

bugType: Something isn't workingtestTest infrastructure, automated tests required, etc

Type

Projects

Status

👀 In review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions