Fix how our contracts are called
Opened this issue · 5 comments
spencercorwin commented
- Need to make sure we’re calling contracts correctly in our client ScriptBuilder
- If sticking with current hack-y version:
- All method offsets are set to zero (improper)
- Every method should now accept two args: 1 byte string for method, and one array for actual args
- Made edits in smartContract for.ts and linkedSmartContract for.ts
- If changing to how it should be done
- Remove jump table. Method lookup is by manifest offset
- Method offsets should be where the method actually starts and not jump table location
- Every method needs to start with INITSLO
spencercorwin commented
spencercorwin commented
spencercorwin commented
spencercorwin commented
spencercorwin commented
Also revert #2544