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

Reading "HEAD" and "previous" from blockchains #109

Open
andrea-dintino opened this issue Feb 21, 2022 · 0 comments
Open

Reading "HEAD" and "previous" from blockchains #109

andrea-dintino opened this issue Feb 21, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@andrea-dintino
Copy link
Member

In order to have a multilayer blockchain, for all the blockchains we support, we need statements that:

  • read the HEAD of the blockchain
  • given a certain "block", a statement that read the content of the previous block (I guess it's an address in Sawroom?)

Something like:

Given I read from Sawroom the data in the HEAD and save the output into 'sawroomHead'
Given I read from Sawroom the data in the address preceding 'myAddress' and save the output into 'sawroomPrevious'

Data:

{
"myAddress": "c274b51d3851ebcd31347fa373b4ca2e9be9eb0cadcc209f769af8156b9f754241013f"
}

@andrea-dintino andrea-dintino added the enhancement New feature or request label Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants