Stateless tests placeholder

This commit is contained in:
Hernán Di Pietro 2021-11-05 15:33:58 -03:00
parent a34ac2e3a6
commit d9766f6585
1 changed files with 53 additions and 35 deletions

View File

@ -14,11 +14,11 @@ const SIGNATURES = {}
SIGNATURES[OWNER_ADDR] = algosdk.mnemonicToSecretKey(OWNER_MNEMO)
SIGNATURES[OTHER_ADDR] = algosdk.mnemonicToSecretKey(OTHER_MNEMO)
function makeVAA() {
function makeVAA () {
}
function signCallback(sender, tx) {
function signCallback (sender, tx) {
const txSigned = tx.signTxn(SIGNATURES[sender].sk)
return txSigned
}
@ -104,10 +104,28 @@ describe('VAA Processor Smart-contract Tests', function () {
it('Must reject transaction with not verified bit set in group', async function () {
})
it('Stateless: Must reject transaction with excess fee', async function () {
})
it('Stateless: Must reject incorrect number of logic program arguments', async function () {
})
it('Stateless: Must reject transaction with mismatching number of signatures', async function () {
})
it('Stateless: Must reject transaction with non-zero rekey', async function () {
})
it('Stateless: Must reject transaction call from bad app-id', async function () {
})
it('Stateless: Must reject non-app call tx type', async function () {
})
it('Stateless: Must reject invalid group size', async function () {
})
it('Stateless: Must reject signature verification failure', async function () {
})
})