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

docs - random number appears out of date #284

Open
duckfev3r opened this issue Sep 21, 2020 · 0 comments
Open

docs - random number appears out of date #284

duckfev3r opened this issue Sep 21, 2020 · 0 comments

Comments

@duckfev3r
Copy link

duckfev3r commented Sep 21, 2020

[https://contracting.lamden.io/concepts/randoms/#randomseed](link to random docs)

Docs state below is necessary when using ContractingClient :

rc = client.get_contract('random_contract') rc.uses_random_method(environment={ 'block_height': 0, 'block_hash': 'any_string' })

However, when included in code, an error is thrown, removing it solves the issue, and random methods work as expected.
Behaviour observed in Jupyter Notebook.

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

1 participant