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

test: Re-enabled too large block test. Block tests now use ChainTypes::AutomatedTesting #2950

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

JosephGoulden
Copy link
Contributor

The AutomatedTesting chain type has a much smaller max block weight so it's possible to test the size validation in a short amount of time (it takes about one second now).

After enabling AutomatedTesting in the too_large_block test the serialized_size tests started failing as this is a shared global state and the serialized block size is smaller in the AutomatedTesting mode, so I updated the sizes.

@hashmap
Copy link
Contributor

hashmap commented Jul 16, 2019

Excellent, thanks for the contribution!

@hashmap hashmap merged commit b8c508d into mimblewimble:milestone/2.x.x Jul 16, 2019
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