Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e tests for hbar/token allowance #1682

Closed
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"mocha": "^9.2.2",
"pino": "^7.11.0",
"pino-pretty": "^7.6.1",
"uuid": "^3.3.2"
"uuid": "^3.3.2",
"pnpm": "^8.6.6"
AlfredoG87 marked this conversation as resolved.
Show resolved Hide resolved
},
"devDependencies": {
"@hashgraph/hedera-local": "^2.12.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/server/tests/acceptance/erc20.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ describe('@erc20 Acceptance Tests', async function () {
expect(toBalance.toString()).to.be.equal(amount.toString());
});

// Issue #1514.
xit('decreases the spender allowance', async function () {
it('decreases the spender allowance', async function () {
const allowance = await contract.allowance(tokenOwner, spender);
expect(allowance.toString()).to.be.equal('0');
});
Expand Down
2 changes: 1 addition & 1 deletion packages/server/tests/acceptance/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('RPC Server Acceptance Tests', function () {
// set env variables for docker images until local-node is updated
process.env['NETWORK_NODE_IMAGE_TAG'] = '0.41.0-alpha.3';
process.env['HAVEGED_IMAGE_TAG'] = '0.41.0-alpha.3';
process.env['MIRROR_IMAGE_TAG'] = '0.86.0-beta1';
process.env['MIRROR_IMAGE_TAG'] = '0.87.0-rc3';

console.log(`Docker container versions, services: ${process.env['NETWORK_NODE_IMAGE_TAG']}, mirror: ${process.env['MIRROR_IMAGE_TAG']}`);

Expand Down
Loading