Add new runStatePath for courtesyCall transition
@@ -3,6 +3,7 @@ const {deployAndLinkAll} = require("./helpers/fullDeployer.js")
const {runStatePath} = require("./states/run.js")
describe("tBTC states", () => {
+ describe("simple redeem", () => {
runStatePath(
states,
deployAndLinkAll(),
@@ -10,5 +11,18 @@ describe("tBTC states", () => {
"awaitingSignerSetup",
"awaitingFundingProof",
"active",
+ "awaitingWithdrawalSignature",
)
})
+ describe("Courtesy-Active", () => {
+ runStatePath(
+ states,
+ deployAndLinkAll(),
+ "start",
+ "awaitingSignerSetup",
+ "awaitingFundingProof",
+ "active",
+ "courtesyCall",
+ )
+ })
+})
