You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to archive the proposal with the given mumbai-batchcontractId I get this error:
request: {path: '/admin/contracts/mumbai-batch/proposals/1a8d8b0a-13c0-45e6-a4f2-bebb83d02f2f/archived',method: 'PUT'},response: {status: 404,statusText: 'Not Found',data: {message: 'contract with id mumbai-batch not found.'}}
I feel like proposals are more general and should not live under the contracts path. it should be possible to refer to a proposal solely by its id.
The text was updated successfully, but these errors were encountered:
I have created a batch proposal that interacts with several contracts, and looks like this:
I redacted some addresses. Note that
contractId
ismumbai-batch
since it's actually several contracts incontractIds
.However the
archive
endpoint and the typescript function in the defender-admin-client only accept a single contract id. See https://docs.openzeppelin.com/defender/admin-api-reference#proposals-archive-endpointWhen I try to archive the proposal with the given
mumbai-batch
contractId
I get this error:I feel like proposals are more general and should not live under the
contracts
path. it should be possible to refer to a proposal solely by its id.The text was updated successfully, but these errors were encountered: