Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conseiljs

Package Overview
Dependencies
Maintainers
3
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conseiljs - npm Package Compare versions

Comparing version 5.0.7-beta.2 to 5.0.7-beta.3

11

dist/chain/tezos/TezosNodeWriter.js

@@ -264,4 +264,4 @@ "use strict";

for (let i = 0; i < operations.length; i++) {
operation[i].gas_limit = estimate.operationResources[i].gas.toString();
operation[i].storage_limit = estimate.operationResources[i].storageCost.toString();
operations[i].gas_limit = estimate.operationResources[i].gas.toString();
operations[i].storage_limit = estimate.operationResources[i].storageCost.toString();
}

@@ -278,5 +278,5 @@ }

parsedCode = JSON.parse(TezosLanguageUtil_1.TezosLanguageUtil.translateMichelsonToMicheline(code));
log.debug(`TezosNodeWriter.sendOriginationOperation code translation:\n${code}\n->\n${JSON.stringify(parsedCode)}`);
log.debug(`TezosNodeWriter.constructContractOriginationOperation code translation:\n${code}\n->\n${JSON.stringify(parsedCode)}`);
parsedStorage = JSON.parse(TezosLanguageUtil_1.TezosLanguageUtil.translateMichelsonToMicheline(storage));
log.debug(`TezosNodeWriter.sendOriginationOperation storage translation:\n${storage}\n->\n${JSON.stringify(parsedStorage)}`);
log.debug(`TezosNodeWriter.constructContractOriginationOperation storage translation:\n${storage}\n->\n${JSON.stringify(parsedStorage)}`);
}

@@ -424,3 +424,4 @@ else if (codeFormat === TezosTypes.TezosParameterFormat.Micheline) {

return __awaiter(this, void 0, void 0, function* () {
const responseJSON = yield dryRunOperation(server, chainid, ...operations);
const localOperations = [...operations].map(o => { return Object.assign(Object.assign({}, o), { gas_limit: TezosConstants_1.TezosConstants.OperationGasCap.toString(), storage_limit: TezosConstants_1.TezosConstants.OperationStorageCap.toString() }); });
const responseJSON = yield dryRunOperation(server, chainid, ...localOperations);
let gas = 0;

@@ -427,0 +428,0 @@ let storageCost = 0;

{
"name": "conseiljs",
"version": "5.0.7-beta.2",
"version": "5.0.7-beta.3",
"description": "Client-side library for Tezos dApp development.",

@@ -5,0 +5,0 @@ "browser": "dist/index-web.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc