diff --git a/.gitmodules b/.gitmodules index 75d25886..6b3c3a72 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,12 @@ [submodule "examples/swap/deps/serum-dex"] path = examples/swap/deps/serum-dex url = https://github.com/project-serum/serum-dex +[submodule "examples/cfo/deps/serum-dex"] + path = examples/cfo/deps/serum-dex + url = https://github.com/project-serum/serum-dex +[submodule "examples/cfo/deps/swap"] + path = examples/cfo/deps/swap + url = https://github.com/project-serum/swap.git +[submodule "examples/cfo/deps/stake"] + path = examples/cfo/deps/stake + url = https://github.com/project-serum/stake.git diff --git a/.travis.yml b/.travis.yml index 3bbf8e5d..f072af9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,6 +64,7 @@ jobs: - pushd examples/chat && yarn && anchor test && popd - pushd examples/ido-pool && yarn && anchor test && popd - pushd examples/swap/deps/serum-dex/dex && cargo build-bpf && cd ../../../ && anchor test && popd + - pushd examples/cfo && anchor run test && popd - <<: *examples name: Runs the examples 3 script: diff --git a/CHANGELOG.md b/CHANGELOG.md index 388fc390..8e01042c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,14 @@ incremented for features. ## [Unreleased] +### Features + +* lang: Add `#[account(address = )]` constraint for asserting the address of an account ([#400](https://github.com/project-serum/anchor/pull/400)). +* lang: Add `#[account(init, token = , authority = ...)]` constraint for initializing SPL token accounts as program derived addresses for the program. Can be used when initialized via `seeds` or `associated` ([#400](https://github.com/project-serum/anchor/pull/400)). +* lang: Add `associated_seeds!` macro for generating signer seeds for CPIs signed by an `#[account(associated = )]` account ([#400](https://github.com/project-serum/anchor/pull/400)). +* cli: Add `[scripts]` section to the Anchor.toml for specifying workspace scripts that can be run via `anchor run