From 04ec42933769704d7dbc9d2a0de6482e75f7fd82 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Wed, 6 Dec 2023 14:35:43 -0600 Subject: [PATCH] update Updater.resolveView impl --- contracts/StagedContractUpdates.cdc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contracts/StagedContractUpdates.cdc b/contracts/StagedContractUpdates.cdc index c696952..7c7fe0d 100644 --- a/contracts/StagedContractUpdates.cdc +++ b/contracts/StagedContractUpdates.cdc @@ -301,12 +301,12 @@ access(all) contract StagedContractUpdates { if view == Type() { return UpdaterInfo( id: self.uuid, - blockUpdateBoundary: self.blockUpdateBoundary, - updateComplete: self.updateComplete, - hostAddresses: self.hosts.keys, - deployments: self.deployments, - currentDeploymentStage: self.currentDeploymentStage, - failedDeployments: self.failedDeployments + blockUpdateBoundary: self.getBlockUpdateBoundary(), + updateComplete: self.hasBeenUpdated(), + hostAddresses: self.getContractAccountAddresses(), + deployments: self.getDeployments(), + currentDeploymentStage: self.getCurrentDeploymentStage(), + failedDeployments: self.getFailedDeployments() ) } return nil