Skip to content

Commit

Permalink
Subgame support (#13)
Browse files Browse the repository at this point in the history
Add basic subgame support
  • Loading branch information
DogLooksGood authored Oct 30, 2024
1 parent bd661c1 commit a2bf94c
Show file tree
Hide file tree
Showing 167 changed files with 11,137 additions and 8,379 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'
cache-dependency-path: js/package-lock.json

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ test-ledger/
result
.direnv
.blacklist
logs
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,24 @@ Race Protocol: A multi-chain infrastructure for asymmetric competitive games

# Master(Unreleased)

## Breaking Changes
- Facade: Argument format updated. Now it receives `-g` for game, and `-b` for bundle.

### Replace addr with id in games
- Now we use `id: u64` instead of `addr: string` in games. The value of `id` is taken from the `access_version` which is incremental and unique in game. This update helps us to improve the performance and reduce the sizes of checkpoints and states.
- API: `Effect::count_players` and `Effect::count_servers` has been removed, use `Effect::count_nodes` to count how many nodes are involved in the randomization.
- SDK: `AppClient.getProfiles` now receives both `addr: string` and `id: bigint`.
- TestKit: Add `TestClient::join`.

## Enhancements
- SDK: Remove dependency `crypto` to support NodeJS runtime.
- CLI: Print `checkpoint` in hex format in command `game-info`.
- TestKit: Add `handle_dispatch_until_no_events` to TestHandler.

## Features
- CLI: Update `publish` command. Now it receives the path to the WASM bundle instead of the Arweave URL to solana metadata.
- Add optional `createProfileIfNeeded` to join options.
- SDK: Add `recipientClaim` and its solana implementation.

## Fixes
- Transactor: Improve the retry mechanism for settle.
Expand Down
Loading

0 comments on commit a2bf94c

Please sign in to comment.