Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contracts don't work if we use serde_json = "1.0.0" #64

Closed
janedegtiareva opened this issue Jan 27, 2020 · 2 comments
Closed

contracts don't work if we use serde_json = "1.0.0" #64

janedegtiareva opened this issue Jan 27, 2020 · 2 comments
Assignees

Comments

@janedegtiareva
Copy link
Contributor

Steps to repro: use contract from near/create-near-app#65
use serde_json = "1.0.0"
deploy app and run (yarn start)

when running app, get GasInstrumentation failure (see screenshot)
Screen Shot 2020-01-27 at 12 16 17 PM

@MaksymZavershynskyi
Copy link
Contributor

What node version are you using? If you are using docker image then we don't have floats enabled there yet, which is what needed for using serde_json 1.0.0. This will be fixed in the next version.

@janedegtiareva
Copy link
Contributor Author

Testnet:
{"chain_id":"testnet","rpc_addr":"0.0.0.0:8080","sync_info":{"latest_block_hash":"DRzfUJHw2NjoFF3mZaQieynQ5rtaG3fb43zbFQSpiEyd","latest_block_height":636218,"latest_block_time":"2020-01-27T19:31:35.350132049Z","latest_state_root":"BWFyPZ12pUXZiLvF2CaVmF7hvJC25wNJrbaCkgSKHToU","syncing":false},"validators":[{"account_id":"far","is_slashed":false}],"version":{"build":"1a0ea717-modified","version":"0.4.12"}}

Let's hold off using 1.0.0 in create-near-app until the fix is rolled out everywhere. I want to use create-near-app at the hackathon in order to test drive the experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants