MCPcopy Create free account
hub / github.com/api3dao/airnode / removeWithReceipt

Function removeWithReceipt

packages/airnode-deployer/src/cli/commands.ts:86–92  ·  view source on GitHub ↗
(receiptFilename: string)

Source from the content-addressed store, hash-verified

84}
85
86export async function removeWithReceipt(receiptFilename: string) {
87 const receipt = parseReceiptFile(receiptFilename);
88 const { deploymentId } = receipt.deployment;
89
90 // If the function throws, the CLI will fail with a non zero status code
91 await removeAirnode(deploymentId);
92}
93
94export async function rollback(deploymentId: string, versionId: string, receiptFile: string, autoRemove: boolean) {
95 const spinner = logger.getSpinner();

Callers 4

index.tsFile · 0.90
commands.test.tsFile · 0.90
throwingFnFunction · 0.90
deployFunction · 0.85

Calls 2

parseReceiptFileFunction · 0.90
removeAirnodeFunction · 0.90

Tested by 1

throwingFnFunction · 0.72