You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Describe the bug
I'm unable to execute buyrambytes with v20. I have working examples with v16 and the same docker container, so I'm really not sure what's going on.
Error I receive is: "Unknown action buyrambytes in contract eosio" but I don't believe it's related to bootstrapping because:
I can run EOSJS v16 against the same docker container and successfully execute:
Error: Unknown action buyrambytes in contract eosio
at serializeActionData (/[project folder]/eosjs/src/eosjs-serialize.ts:1065:15)
at Object.serializeAction ([project folder]/eosjs/src/eosjs-serialize.ts:1080:15)
at Api.<anonymous> ([project folder]/eosjs/src/eosjs-api.ts:179:24)
at step ([project folder]/eosjs/dist/eosjs-api.js:47:23)
at Object.next ([project folder]/eosjs/dist/eosjs-api.js:28:53)
at fulfilled ([project folder]/eosjs/dist/eosjs-api.js:19:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
Desktop (please complete the following information):
OS: Mac OS X 10.14.4
Browser: No browser involved
Runtime: Node v10.15.3
Context
Is there any good way to get nodeos to log out the transactions it receives exactly so I can see what the difference is between the two versions?
The text was updated successfully, but these errors were encountered:
eosio-project-boilerplate-simple doesn't install the system contract. buyrambytes doesn't exist without it; all accounts have unlimited ram. eosjs 16 blindly assumed buyrambytes existed without checking; the result was a no-op.
@thekevinbrown The project using eosjs v16 should not be "working" either, just failing silently. I'm going to close this, but I'll open an issue in the boilerplate to install the system contracts so no one else has issues with this.
Version of EOSJS
v20.0.0
Describe the bug
I'm unable to execute
buyrambytes
with v20. I have working examples with v16 and the same docker container, so I'm really not sure what's going on.Error I receive is: "Unknown action buyrambytes in contract eosio" but I don't believe it's related to bootstrapping because:
cleos
and create a new account just fine.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected success
Actual behaviour
Desktop (please complete the following information):
Context
Is there any good way to get nodeos to log out the transactions it receives exactly so I can see what the difference is between the two versions?
The text was updated successfully, but these errors were encountered: