Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
599 views

delegate call from a fallback function using msg.data doesn't work

Please look into the following 3 contracts: // SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.7; contract implementationProxy { uint public a; uint public b; address owner; ...
Rushank Savant's user avatar
0 votes
1 answer
429 views

fallback not executing

I have a test project with proxy pattern (fallback/delegate call). The purpose is to have upgradeable contracts. Here is the proxy contract: // SPDX-License-Identifier: MIT pragma solidity 0.8.13; ...
Marko's user avatar
  • 105
0 votes
1 answer
89 views

Events in Chained Fallback Function Cause VirtualMachineError

I’m working on an upgradeable contract that uses fallback functions with inline assembly delegatecall and call calls (using calldatacopy and returndatacopy) to route internal and external function ...
rbinnun's user avatar
  • 136
2 votes
1 answer
1k views

Calling fallback function in truffle to delegate a call

I'm playing with the upgradeable contracts via DelegateProxy in Solidity. This pattern posits that a MutableForwarder contract is deployed once, and all the subsequent calls to the upgradeable ...
fbielejec's user avatar
  • 192
5 votes
2 answers
1k views

How to make function call through relay / entry level contract

I am trying to create an entry level contract (one that is the entry point): Relay.sol pragma solidity ^0.4.8; contract Relay { address public currentVersion; address public owner; ...
SwapnilKumbhar's user avatar