Skip to content
#

smart-contracts

Here are 4,692 public repositories matching this topic...

haltman-at
haltman-at commented Feb 24, 2022

Issue

Currently, in Truffle Contract, you can set numberFormat to "BN" (the default), "String", or "BigNumber" (note this only affects the output; all of these, as well as BigInts, are always supported as input). It occurred to me that we ought to also have "BigInt" (possibly with different capitalization, but I'm sticking to the convention for the existing ones) as a possible `

thomasballinger
thomasballinger commented Aug 1, 2021

Related to metering wasm3/wasm3#127 and being able to run a set number of instructions, I'd like to be able to serialize a paused interpreter's state and deserialize it to a new interpreter instance; very roughly,

const interp = new wasm3.Interpreter(module);
interp.interpretNInstructions(100);
const interpState = interp.serializeState();
const interp2 = wasm3.In
dbeal-eth
dbeal-eth commented Jan 26, 2022

It is currently not possible to specify the chain ID for a hardhat network invoked with npx hardhat node through any means other than the config file. This means it is impossible to specify the --chain-id argument in the command line, or execute a chain host pragmatically with hre.run('node', { chainId: 100 }).

Please add the chainId parameter to the node command so it is possible to

Improve this page

Add a description, image, and links to the smart-contracts topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the smart-contracts topic, visit your repo's landing page and select "manage topics."

Learn more