Skip to content

Conversation

@KonradStaniec
Copy link
Contributor

No description provided.

@KonradStaniec KonradStaniec requested a review from mmrozek August 25, 2020 11:00
@KonradStaniec KonradStaniec force-pushed the etcm-25-enable-features branch from 2560382 to 6a7e74c Compare August 25, 2020 11:49
Copy link
Contributor

@mmrozek mmrozek left a comment

Choose a reason for hiding this comment

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

LGTM



private def exceedsMaxContractSize(context: PC, config: EvmConfig, contractCode: ByteString): Boolean = {
val maxCodeSizeExceeded = config.maxCodeSize.exists(codeSizeLimit => contractCode.size > codeSizeLimit)
Copy link
Contributor

Choose a reason for hiding this comment

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

Very minor - it could be lazy. We don't need to check it if we are before the fork

@KonradStaniec KonradStaniec merged commit 1259ef7 into phase/etc_forks Aug 25, 2020
@KonradStaniec KonradStaniec deleted the etcm-25-enable-features branch August 25, 2020 14:49
@ntallar ntallar mentioned this pull request Sep 17, 2020
13 tasks
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.

3 participants