chore: use fast-copy by default
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user