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

fix(cli): add missing await to tablegen, fix formatting #472

Merged
merged 4 commits into from
Mar 8, 2023

Conversation

dk1a
Copy link
Contributor

@dk1a dk1a commented Mar 8, 2023

No description provided.

@dk1a dk1a requested review from alvrs and holic as code owners March 8, 2023 19:50
@@ -47,38 +49,34 @@ library Callbacks {
/** Get value */
function get(bytes32 key) internal view returns (bytes24[] memory value) {
bytes32[] memory _primaryKeys = new bytes32[](1);

_primaryKeys[0] = bytes32(key);
_primaryKeys[0] = bytes32((key));
Copy link
Member

Choose a reason for hiding this comment

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

just carrying over discord convo: these extra parens are because our autogen optionally wraps values and, to keep autogen simpler (less inline conditionals), we just leave the parens here.

@holic holic merged commit 4313c27 into main Mar 8, 2023
@dk1a dk1a mentioned this pull request Mar 24, 2023
47 tasks
@dk1a dk1a deleted the dk1a/tablegen-fix-await branch May 9, 2023 16:24
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