diff --git a/integration/smartcontract/debug_mgmt_contract_lib.go b/integration/smartcontract/debug_mgmt_contract_lib.go index 6a3245d8a7..fb2fc3f4e7 100644 --- a/integration/smartcontract/debug_mgmt_contract_lib.go +++ b/integration/smartcontract/debug_mgmt_contract_lib.go @@ -65,7 +65,7 @@ func (d *debugMgmtContractLib) AwaitedIssueRollup(rollup common.ExtRollup, clien return fmt.Errorf("rollup not stored in tree") } - if !bytes.Equal(rollupElement.AggregatorID[:], rollup.Header.Coinbase.Bytes()) { + if !bytes.Equal(rollupElement.EnclaveID[:], rollup.Header.EnclaveID.Bytes()) { return fmt.Errorf("stored rollup does not match the generated rollup") } diff --git a/integration/smartcontract/smartcontracts_test.go b/integration/smartcontract/smartcontracts_test.go index 5975e808ab..5b80b8cf2e 100644 --- a/integration/smartcontract/smartcontracts_test.go +++ b/integration/smartcontract/smartcontracts_test.go @@ -219,7 +219,7 @@ func attestedNodesCreateRollup(t *testing.T, mgmtContractLib *debugMgmtContractL } rollup := datagenerator.RandomRollup(block) - requesterID := &rollup.Header.Coinbase + requesterID := &rollup.Header.EnclaveID // the aggregator starts the network txData := mgmtContractLib.CreateInitializeSecret(