Found while adding a real funds rescue to the operator recovery drill (wraith-protocol/contracts#199).
On develop, buildStealthAnnouncement in src/chains/stellar/builders.ts calls announce with SCHEME_ID (1). constants.ts also defines SCHEME_ID_V2 = 2, and the v2 announcer contract documents that scheme_id must be 2. The same SCHEME_ID default appears in tx-builder.ts, path-payment.ts, swap.ts and batch.ts.
Expected: announcements built for the v2 announcer use scheme 2, or the builders take a scheme id option.
Workaround: the rescue tool builds the announce call itself with SCHEME_ID_V2.
Found while adding a real funds rescue to the operator recovery drill (wraith-protocol/contracts#199).
On develop,
buildStealthAnnouncementinsrc/chains/stellar/builders.tscallsannouncewithSCHEME_ID(1).constants.tsalso definesSCHEME_ID_V2 = 2, and the v2 announcer contract documents thatscheme_idmust be 2. The sameSCHEME_IDdefault appears intx-builder.ts,path-payment.ts,swap.tsandbatch.ts.Expected: announcements built for the v2 announcer use scheme 2, or the builders take a scheme id option.
Workaround: the rescue tool builds the
announcecall itself withSCHEME_ID_V2.