All Questions
Tagged with delegatecall go-ethereum
5 questions
0
votes
0
answers
90
views
Encoded delegate calls fails
I have been using encodeFunctionCall() utils for encoding my function call. when i use the encoded data to execute delegateCall(), it gets reverted.
My solidity call is like
bool success, ) = ...
1
vote
0
answers
54
views
How to transfer a contract address to ContractRef type(ContractRef is a reference to the contract's backing object) in Go-ethereum
I want to call DelegateCall(caller ContractRef, addr common.Address, input []byte, gas uint64) in geth, but it can only be triggered by the opcode. So I want to convert address of deployed contract ...
0
votes
1
answer
215
views
delegateContract address getting reset on delegatecall using geth console
I've deployed the following contracts on the rinkeby testnet. They are completely separate with different addresses:
pragma solidity ^0.4.11;
contract Backend {
address public delegateContract;
...
1
vote
0
answers
297
views
out of gas error by assembly delegatecall
I want to get a return value from current contract call other contract by delegatecall, but got a error of out-of-gas. I try to add gas limit to 3000000000, but it doesn't work. please help me. And i ...
5
votes
1
answer
1k
views
Ethereum - What is the correct way to pass a string using delegate Call?
In my contract, I have separated my code and data. In the "data contract", I am storing the current version of code. Whenever addEmployee() is called, I am trying to delegate it to Current Version ...