Skip to content

Commit

Permalink
fix(xsnap): 1e7 was too small for crank meter limit
Browse files Browse the repository at this point in the history
... as shown in solo tests
  • Loading branch information
dckc authored and kriskowal committed Jun 21, 2021
1 parent 3a6ddbb commit 95c52ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xsnap/src/xsnap.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import * as netstring from './netstring.js';
import * as node from './node-stream.js';

// This will need adjustment, but seems to be fine for a start.
export const DEFAULT_CRANK_METERING_LIMIT = 1e7;
export const DEFAULT_CRANK_METERING_LIMIT = 1e8;

const OK = '.'.charCodeAt(0);
const ERROR = '!'.charCodeAt(0);
Expand Down

0 comments on commit 95c52ab

Please sign in to comment.