@vechain/vebetterdao-contracts
Version:
Open-source repository that houses the smart contracts powering the decentralized VeBetterDAO on the VeChain Thor blockchain.
12 lines (11 loc) • 574 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createE2EConfig = createE2EConfig;
const local_1 = require("./local");
function createE2EConfig() {
console.log("Creating E2E config...");
const localConfig = (0, local_1.createLocalConfig)();
localConfig.EMISSIONS_CYCLE_DURATION = process.env.GITHUB_RUN_ID ? 24 : 16; // 24 blocks in CI (4 mins) minutes, 12 blocks in local (2 mins)
localConfig.X_ALLOCATION_VOTING_QUORUM_PERCENTAGE = 20; // 20 -> Need 20% of total supply to succeed = 100 votes
return localConfig;
}