forked from TrueCloudLab/neoneo-go
1a26548be8
Fix duping and add tests. C# node actually implements DUP in the same way we did, but it does create a new element when accessing some particular value (like BigInt() or Bytes()) so in the end this DUP implementation doesn't lead to any visible side-effects. In our case I think it's more appropriate to fix the DUP (and its variants) itself avoiding useless allocations in the VM. |
||
---|---|---|
.. | ||
compiler | ||
consensus | ||
core | ||
crypto | ||
internal | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |