Skip to content

Commit

Permalink
test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Mar 7, 2024
1 parent c72f0d3 commit 8a48857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/smartcontract/debug_mgmt_contract_lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down
2 changes: 1 addition & 1 deletion integration/smartcontract/smartcontracts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8a48857

Please sign in to comment.