Skip to main content
Monika's user avatar
Monika's user avatar
Monika's user avatar
Monika
  • Member for 5 years, 7 months
  • Last seen more than 1 year ago
comment
Can we call a function (with parameters) in the parent smart contract from its child smart contract without making the function (in parent) payable?
I forgot to initialize ERC20token ec; in Test contarct, that's why I was getting the following error: "The transaction has been reverted to the initial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance." Thank you.
comment
Can we call a function (with parameters) in the parent smart contract from its child smart contract without making the function (in parent) payable?
The issue I am facing is I need to call _mint() ** in the Test contract without passing Wei or Ether to **_mint(). Can it be done?
comment
Can we call a function (with parameters) in the parent smart contract from its child smart contract without making the function (in parent) payable?
uint result = anotherContract.someFunction{value: _amountToOther * 1 wei}(); here value is passed to somefuntion() because its declared payable and it can receive wei or ether.
Loading…
awarded
accepted
awarded
Loading…
comment
Transaction completion in Ethereum smart contract
Thank you for suggesting events. I will look into this.
comment
Transaction completion in Ethereum smart contract
Thank you but actually I know all of these things about blockchain. My concern was there three research papers, out of which one is published in IEEE transaction and other two are also published in reputed conferences, and they have used execution time as a performance metric for comparing blockchain platforms. So I just wanted to know the web3.js commands to calculate it.
comment
Transaction completion in Ethereum smart contract
I wanted to do a comparative analysis of public blockchain platforms. So, I need to do the performance analysis of a blockchain platform. Blockchain researches in their published research work have used completion time of a set of transactions as one of the performance metric.
comment
Transaction completion in Ethereum smart contract
But researcher in their research papers have calculated the execution time of a transaction from its deployment time and completion time.Just they have not explained the commands or procedure to calculate it.
Loading…