From 7649e9db3a4bde7bba1637c635c4f85ab9b9300f Mon Sep 17 00:00:00 2001 From: Juan Ignacio Ubeira Date: Wed, 4 Dec 2024 17:08:41 -0300 Subject: [PATCH] Rename folder, tweak buffer period. --- .../artifact/Vault.json | 0 .../artifact/VaultAdmin.json | 0 .../artifact/VaultExtension.json | 0 .../artifact/VaultFactory.json | 0 .../build-info/Vault.json | 0 .../build-info/VaultAdmin.json | 0 .../build-info/VaultExtension.json | 0 .../build-info/VaultFactory.json | 0 .../{v3-vault-factory => 20241204-v3-vault-factory}/index.ts | 0 .../{v3-vault-factory => 20241204-v3-vault-factory}/input.ts | 2 +- .../{v3-vault-factory => 20241204-v3-vault-factory}/readme.md | 0 .../test/task.fork.ts | 4 ++-- 12 files changed, 3 insertions(+), 3 deletions(-) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/artifact/Vault.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/artifact/VaultAdmin.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/artifact/VaultExtension.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/artifact/VaultFactory.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/build-info/Vault.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/build-info/VaultAdmin.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/build-info/VaultExtension.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/build-info/VaultFactory.json (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/index.ts (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/input.ts (97%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/readme.md (100%) rename v3/tasks/{v3-vault-factory => 20241204-v3-vault-factory}/test/task.fork.ts (97%) diff --git a/v3/tasks/v3-vault-factory/artifact/Vault.json b/v3/tasks/20241204-v3-vault-factory/artifact/Vault.json similarity index 100% rename from v3/tasks/v3-vault-factory/artifact/Vault.json rename to v3/tasks/20241204-v3-vault-factory/artifact/Vault.json diff --git a/v3/tasks/v3-vault-factory/artifact/VaultAdmin.json b/v3/tasks/20241204-v3-vault-factory/artifact/VaultAdmin.json similarity index 100% rename from v3/tasks/v3-vault-factory/artifact/VaultAdmin.json rename to v3/tasks/20241204-v3-vault-factory/artifact/VaultAdmin.json diff --git a/v3/tasks/v3-vault-factory/artifact/VaultExtension.json b/v3/tasks/20241204-v3-vault-factory/artifact/VaultExtension.json similarity index 100% rename from v3/tasks/v3-vault-factory/artifact/VaultExtension.json rename to v3/tasks/20241204-v3-vault-factory/artifact/VaultExtension.json diff --git a/v3/tasks/v3-vault-factory/artifact/VaultFactory.json b/v3/tasks/20241204-v3-vault-factory/artifact/VaultFactory.json similarity index 100% rename from v3/tasks/v3-vault-factory/artifact/VaultFactory.json rename to v3/tasks/20241204-v3-vault-factory/artifact/VaultFactory.json diff --git a/v3/tasks/v3-vault-factory/build-info/Vault.json b/v3/tasks/20241204-v3-vault-factory/build-info/Vault.json similarity index 100% rename from v3/tasks/v3-vault-factory/build-info/Vault.json rename to v3/tasks/20241204-v3-vault-factory/build-info/Vault.json diff --git a/v3/tasks/v3-vault-factory/build-info/VaultAdmin.json b/v3/tasks/20241204-v3-vault-factory/build-info/VaultAdmin.json similarity index 100% rename from v3/tasks/v3-vault-factory/build-info/VaultAdmin.json rename to v3/tasks/20241204-v3-vault-factory/build-info/VaultAdmin.json diff --git a/v3/tasks/v3-vault-factory/build-info/VaultExtension.json b/v3/tasks/20241204-v3-vault-factory/build-info/VaultExtension.json similarity index 100% rename from v3/tasks/v3-vault-factory/build-info/VaultExtension.json rename to v3/tasks/20241204-v3-vault-factory/build-info/VaultExtension.json diff --git a/v3/tasks/v3-vault-factory/build-info/VaultFactory.json b/v3/tasks/20241204-v3-vault-factory/build-info/VaultFactory.json similarity index 100% rename from v3/tasks/v3-vault-factory/build-info/VaultFactory.json rename to v3/tasks/20241204-v3-vault-factory/build-info/VaultFactory.json diff --git a/v3/tasks/v3-vault-factory/index.ts b/v3/tasks/20241204-v3-vault-factory/index.ts similarity index 100% rename from v3/tasks/v3-vault-factory/index.ts rename to v3/tasks/20241204-v3-vault-factory/index.ts diff --git a/v3/tasks/v3-vault-factory/input.ts b/v3/tasks/20241204-v3-vault-factory/input.ts similarity index 97% rename from v3/tasks/v3-vault-factory/input.ts rename to v3/tasks/20241204-v3-vault-factory/input.ts index 9004949e..01c4c054 100644 --- a/v3/tasks/v3-vault-factory/input.ts +++ b/v3/tasks/20241204-v3-vault-factory/input.ts @@ -32,7 +32,7 @@ const targetVaultAddress = '0xbA1333333333a1BA1108E8412f11850A5C319bA9'; export default { Authorizer, pauseWindowDuration: 4 * MONTH * 12, - bufferPeriodDuration: 3 * MONTH, + bufferPeriodDuration: 6 * MONTH, minTradeAmount: 1e6, minWrapAmount: 1e4, vaultCreationCode, diff --git a/v3/tasks/v3-vault-factory/readme.md b/v3/tasks/20241204-v3-vault-factory/readme.md similarity index 100% rename from v3/tasks/v3-vault-factory/readme.md rename to v3/tasks/20241204-v3-vault-factory/readme.md diff --git a/v3/tasks/v3-vault-factory/test/task.fork.ts b/v3/tasks/20241204-v3-vault-factory/test/task.fork.ts similarity index 97% rename from v3/tasks/v3-vault-factory/test/task.fork.ts rename to v3/tasks/20241204-v3-vault-factory/test/task.fork.ts index dc170728..bb0b37fd 100644 --- a/v3/tasks/v3-vault-factory/test/task.fork.ts +++ b/v3/tasks/20241204-v3-vault-factory/test/task.fork.ts @@ -48,8 +48,8 @@ describeForkTest('VaultFactory-V3', 'sepolia', 7206300, function () { expect(await vaultAdmin.getMinimumPoolTokens()).to.be.equal(2); expect(await vaultAdmin.getMaximumPoolTokens()).to.be.equal(8); expect(await vaultAdmin.getPauseWindowEndTime()).to.be.equal(await fromNow(MONTH * 12 * 4)); - expect(await vaultAdmin.getBufferPeriodDuration()).to.be.equal(MONTH * 3); - expect(await vaultAdmin.getBufferPeriodEndTime()).to.be.equal(await fromNow(MONTH * 12 * 4 + MONTH * 3)); + expect(await vaultAdmin.getBufferPeriodDuration()).to.be.equal(MONTH * 6); + expect(await vaultAdmin.getBufferPeriodEndTime()).to.be.equal(await fromNow(MONTH * 12 * 4 + MONTH * 6)); }); it('checks extension', async () => {