Skip to content

Added export to newBlock()#67

Open
joaocosta9 wants to merge 1 commit into
LimeChain:mainfrom
joaocosta9:export-new-block
Open

Added export to newBlock()#67
joaocosta9 wants to merge 1 commit into
LimeChain:mainfrom
joaocosta9:export-new-block

Conversation

@joaocosta9

Copy link
Copy Markdown

This PR adds a simple export for the newBlock method. This may be useful for someone that needs to test blocks and wants to use the default values assigned by this function, without needing to assign all the values over again. In my case this is usefull since im trying to test block handlers in subgraphs, and I need to create multiple test blocks.

@joaocosta9

joaocosta9 commented Aug 9, 2024

Copy link
Copy Markdown
Author

@dimitrovmaksim can you please check if this makes sense to merge? I think it would be useful for some

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.

1 participant