-
-
Save ryanswrt/2b4af0e61fa983d93cebdb272f1bbeec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client.pollConsensus({ | |
onRoundEnded: _ => { | |
contract.fetchAndPopulateMemoryPages().then(_ => { | |
const results = contract.test(wallet, "render", BigInt(0)).logs[0]; | |
pre.textContent = results; | |
contract.call(wallet, 'step', BigInt(0), BigInt(1e7), BigInt(0)); | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment