Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Validate timetravel#201

Draft
charles-cooper wants to merge 2 commits into
vyperlang:masterfrom
charles-cooper:validate-timetravel
Draft

Validate timetravel#201
charles-cooper wants to merge 2 commits into
vyperlang:masterfrom
charles-cooper:validate-timetravel

Conversation

@charles-cooper
Copy link
Copy Markdown
Member

What I did

How I did it

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Comment thread boa/environment.py

self.evm.patch.timestamp += seconds
self.evm.patch.block_number += blocks
if (new_blknum := self.evm.patch.block_number + blocks) < 0:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to abbreviate?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no 🤓 but i think abbreviations are fine for variables with small scope! when i read code, i associate scope with size of the variable name, if the variable name is too long i start hunting for references to it outside of its actual scope.

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

Successfully merging this pull request may close these issues.

2 participants