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

Sc calls executor #305

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Sc calls executor #305

merged 4 commits into from
Jul 3, 2024

Conversation

iulianpascalau
Copy link
Contributor

No description provided.

@iulianpascalau iulianpascalau marked this pull request as ready for review July 3, 2024 10:42
const (
getPendingTransactionsFunction = "getPendingTransactions"
okCodeAfterExecution = "ok"
scProxyCallFunction = "executeWithAsnyc"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
scProxyCallFunction = "executeWithAsnyc"
scProxyCallFunction = "executeWithAsync"

Copy link
Contributor

Choose a reason for hiding this comment

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

it is a typo also on the SCs. I will fix it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to execute to match the contract's endpoint name

return nil, fmt.Errorf("%w: expected an even number, got %d", errInvalidNumberOfResponseLines, numResponseLines)
}

result := make(map[uint64]parsers.ProxySCCompleteCallData)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
result := make(map[uint64]parsers.ProxySCCompleteCallData)
result := make(map[uint64]parsers.ProxySCCompleteCallData, numResponseLines/2)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

- added the new contract versions
@dragos-rebegea dragos-rebegea merged commit d576803 into feat/v3 Jul 3, 2024
4 checks passed
@dragos-rebegea dragos-rebegea deleted the sc-calls-executor branch July 3, 2024 16:54
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