forked from aave/aave-v3-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4bb917
commit 654ea41
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
diff -ur DeploymentsManager.js DeploymentsManager.js | ||
--- DeploymentsManager.js 2024-08-08 20:22:36 | ||
+++ DeploymentsManager.js 2024-08-08 21:15:30 | ||
@@ -154,7 +154,7 @@ | ||
} | ||
if (this.db.pastFixtures[fixtureKey]) { | ||
const pastFixture = this.db.pastFixtures[fixtureKey]; | ||
- const success = await this.revertSnapshot(pastFixture); | ||
+ const success = true; | ||
if (success) { | ||
return this.db.deployments; | ||
} | ||
@@ -163,7 +163,7 @@ | ||
} | ||
} | ||
if (globalFixture && options.fallbackToGlobal) { | ||
- const success = await this.revertSnapshot(globalFixture); | ||
+ const success = true; | ||
if (success) { | ||
return this.db.deployments; | ||
} | ||
@@ -178,7 +178,7 @@ | ||
log: false, | ||
savePendingTx: false, | ||
}); | ||
- await this.saveSnapshot(fixtureKey); | ||
+ //await this.saveSnapshot(fixtureKey); | ||
return this.db.deployments; | ||
}, | ||
createFixture: (func) => { | ||
@@ -190,13 +190,13 @@ | ||
} | ||
const saved = this.db.pastFixtures[id]; | ||
if (saved) { | ||
- const success = await this.revertSnapshot(saved); | ||
+ //const success = await this.revertSnapshot(saved); | ||
if (success) { | ||
return saved.data; | ||
} | ||
} | ||
const data = await func(this.env, options); | ||
- await this.saveSnapshot(id, data); | ||
+ //await this.saveSnapshot(id, data); | ||
return data; | ||
}; | ||
}, |