I was curious to know what the gas overhead is for Dapps using the GSN . Im not considering the cost to the developer, only the EVM costs when a given function is called in both non-GSN and GSN enabled contract. I deployed two instances of a SimpleStorage contract that stores an integer on the Ganache test chain:
instance 1: simple storage contract with no OZ library:
Set function Gas usage: 26684
instance 2: same contract with OZ libs (
Set function Gas usage: 29364 or 10.043% more
I think for now that it is a reasonable overhead when one considers the benefits of GSN. Did anyone get similar results and or do such tests?