mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
made the .env as in main file, changed test files a bit
This commit is contained in:
parent
e7386b993a
commit
ee409212b1
|
|
@ -1,6 +1,5 @@
|
||||||
ETHERSCAN_API_KEY=""
|
ETHERSCAN_API_KEY=""
|
||||||
PRIVATE_KEY=""
|
PRIVATE_KEY=""
|
||||||
PUBLIC_ADDRESS=""
|
|
||||||
TENDERLY_PROJECT=""
|
TENDERLY_PROJECT=""
|
||||||
TENDERLY_USERNAME=""
|
TENDERLY_USERNAME=""
|
||||||
ALCHEMY_ID=""
|
ALCHEMY_ID=""
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,15 @@ dotenv.config();
|
||||||
|
|
||||||
const { expect } = require("chai");
|
const { expect } = require("chai");
|
||||||
|
|
||||||
|
|
||||||
const private_key ='0x' + process.env.PRIVATE_KEY;
|
const private_key ='0x' + process.env.PRIVATE_KEY;
|
||||||
const public_address = process.env.PUBLIC_ADDRESS;
|
|
||||||
|
// Please note that the public address should correspond to the PRIVATE_KEY in .env file to make the test run succesfully.
|
||||||
|
const public_address = "0x3Fc046bdE274Fe8Ed2a7Fd008cD9DEB2540dfE36";
|
||||||
const deadline = 1000000000000;
|
const deadline = 1000000000000;
|
||||||
const value = 10000000;
|
const value = 10000000;
|
||||||
|
|
||||||
|
|
||||||
describe("starting tests for aave", function () {
|
describe("starting tests for aave", function () {
|
||||||
let account_with_funds;
|
let account_with_funds;
|
||||||
let my_account;
|
let my_account;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,9 @@ dotenv.config();
|
||||||
const { expect } = require("chai");
|
const { expect } = require("chai");
|
||||||
|
|
||||||
const private_key ='0x' + process.env.PRIVATE_KEY;
|
const private_key ='0x' + process.env.PRIVATE_KEY;
|
||||||
const public_address = process.env.PUBLIC_ADDRESS;
|
|
||||||
|
// Please note that the public address should correspond to the PRIVATE_KEY in .env file to make the test run succesfully.
|
||||||
|
const public_address = "0x3Fc046bdE274Fe8Ed2a7Fd008cD9DEB2540dfE36";
|
||||||
const deadline = 1000000000000;
|
const deadline = 1000000000000;
|
||||||
const value = 10000000;
|
const value = 10000000;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user