chore: use fast-copy by default

This commit is contained in:
ppedziwiatr
2022-03-12 17:44:13 +01:00
parent fd1fc21e81
commit 393edac0e8

View File

@@ -97,7 +97,7 @@ export class DefaultEvaluationOptions implements EvaluationOptions {
gasLimit = Number.MAX_SAFE_INTEGER;
useFastCopy = false;
useFastCopy = true;
}
// an interface for the contract EvaluationOptions - can be used to change the behaviour of some of the features.
@@ -149,6 +149,6 @@ export interface EvaluationOptions {
// Whether fast-copy library should be used during the state evaluation
// https://github.com/planttheidea/fast-copy#isstrict
// it's much faster (e.g. almost twice for the SJ3l7474UHh3Dw6dWVT1bzsJ-8JvOewtGoDdOecWIZo contract)
// but not yet fully tested - so exposing it as an option (with default to false)
// currently defaults to true
useFastCopy: boolean;
}