Skip to content

Commit

Permalink
fix(metering): bump default combined meter for autoswap compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Feb 26, 2020
1 parent 053c56e commit ac10627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/spawner/src/contractHost.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function makeContractHost(E, evaluate, additionalEndowments = {}) {
} else {
assert.fail(details`Unrecognized moduleFormat ${moduleFormat}`);
}

return Promise.resolve(allComparable(termsP)).then(terms => {
const inviteMaker = harden({
// Used by the contract to make invites for credibly
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-metering/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const DEFAULT_REGEXP_ID_PREFIX = '$h\u200d_re_';
// Default metering values. These can easily be overridden in meter.js.
// true means to use the combined meter.
// undefined means not to meter.
export const DEFAULT_COMBINED_METER = 1e6;
export const DEFAULT_COMBINED_METER = 1e7;
export const DEFAULT_ALLOCATE_METER = true;
export const DEFAULT_COMPUTE_METER = true;
export const DEFAULT_STACK_METER = 8000;

0 comments on commit ac10627

Please sign in to comment.