Skip to content

Conversation

@s1na
Copy link
Collaborator

@s1na s1na commented Aug 14, 2019

Implements a variation of ewasm/scout#18, with 1 block cache TTL. The difference being that each EE has access to a read-only cache and a write-only cache. The write-only cache is what will persist to the next block. The read-only cache is what was saved to the write-only cache in the previous block.

I also modified the hello-world example to use the new cache API. The example now caches its block data for the next block, and adds the current preStateRoot to the previous block's cached block data.

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