-
Notifications
You must be signed in to change notification settings - Fork 0
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
added generaterandomcontract function #426
Open
harshalpatel165
wants to merge
18
commits into
dev
Choose a base branch
from
generaterandomfunction
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e2284d2
added generaterandomcontract and containspublickey functions
harshalpatel165 8ed5ff7
changes to randomcontract function
harshalpatel165 171ed51
changes to randomcontract function
harshalpatel165 308d102
changes to randomcontract function
harshalpatel165 7be827d
more changes to randomcontract function- no snytax errors
harshalpatel165 098b25d
tested this on playground and works as intended
harshalpatel165 071041b
bypassed unnecessary error
harshalpatel165 dd1f0eb
removed comment
harshalpatel165 2d3ded8
removed error return type
harshalpatel165 66438e7
used math/rand to generate random values
harshalpatel165 8ba2b33
fixed conflicting imports issue
harshalpatel165 91fd671
fixed issues
harshalpatel165 545e1f3
Merge branch 'dev' into generaterandomfunction
harshalpatel165 fec9d8a
test
harshalpatel165 7f88d5c
test
harshalpatel165 f662f84
test again
harshalpatel165 a6eb843
this should do it
harshalpatel165 a2c1d66
made it truly random, and added in the randompublic key
harshalpatel165 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b
isn't randomThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it out on playground, and it generates a random []byte every time I call the function