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

[WIP] Seismic Node DynamoDB Integration #45

Merged
merged 26 commits into from
Feb 1, 2024
Merged

[WIP] Seismic Node DynamoDB Integration #45

merged 26 commits into from
Feb 1, 2024

Conversation

alex-lindenbaum
Copy link
Contributor

@alex-lindenbaum alex-lindenbaum commented Jan 24, 2024

Changes:

  • claimedSpawns and claimedMoves have been replaced with tables. "claimedTiles" have no ttl, and instead are used for committing events to local state or recovery/sync with global state.
  • mud updated, deployed to Lattice Redstone Testnet.
  • Save proving times in /enclave/bin.
  • Client initially authenticates by signing a challenge nonce.

Tests:
PR has not been tested with @smallbraingames's client. But, the PR has been tested with client CLI.

@alex-lindenbaum alex-lindenbaum changed the title Seismic Node DynamoDB Integration [WIP] Seismic Node DynamoDB Integration Jan 24, 2024
@@ -342,7 +356,20 @@ async function tryToSubmitMove() {
);

endProveTime = Date.now();
console.log(`Time to prove: ${endProveTime - startProveTime}ms`);
const provingTime = endProveTime - startProveTime;
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you create a new function provingtime logic

Copy link
Contributor Author

Choose a reason for hiding this comment

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

wdym by a new function for elapsed time?

client/client.ts Outdated Show resolved Hide resolved
client/client.ts Outdated Show resolved Hide resolved
compose.yaml Outdated Show resolved Hide resolved
contracts/src/libraries/LibSpawn.sol Outdated Show resolved Hide resolved
enclave/scripts/dynamodb_setup.sh Outdated Show resolved Hide resolved
game/Utils.ts Show resolved Hide resolved
@alex-lindenbaum alex-lindenbaum merged commit fadaa46 into main Feb 1, 2024
@alex-lindenbaum alex-lindenbaum deleted the e2e-setup branch February 1, 2024 21:29
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