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

feat: added runtime-api for eth-event polling #376

Merged

Conversation

ivan-cholakov
Copy link
Contributor

Created runtime api for eth-bridge that exposes pallet functionality to external tasks.

pallets/eth-bridge/runtime-api/Cargo.toml Outdated Show resolved Hide resolved
pallets/eth-bridge/runtime-api/src/lib.rs Show resolved Hide resolved
pallets/eth-bridge/src/lib.rs Outdated Show resolved Hide resolved
pub fn create_eth_events_proof(account_id:T::AccountId, events_partition:EthereumEventsPartition) -> Vec<u8>{
create_ethereum_events_proof_data::<T>(&account_id, &events_partition)
}
pub fn signatures() -> Vec<H256> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a TODO to get rid of the mock code?

ivan-cholakov and others added 2 commits April 10, 2024 15:08
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
@ivan-cholakov ivan-cholakov merged commit c39bdd4 into feat/SYS-3560-add-event-listener Apr 10, 2024
@ivan-cholakov ivan-cholakov deleted the SYS-3932-eth-event-runtime-api branch April 10, 2024 14:57
thadouk added a commit that referenced this pull request Apr 18, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Apr 18, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request May 3, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request May 3, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request May 23, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request May 23, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Jun 5, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Jun 5, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Jun 26, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Jun 26, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Jun 26, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
thadouk added a commit that referenced this pull request Jun 26, 2024
Signed-off-by: Ivan Cholakov <icholakov1@gmail.com>
Co-authored-by: Thanos Doukoudakis <56822898+thadouk@users.noreply.github.com>
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