diff --git a/.gitignore b/.gitignore index bee9c9cc4f..6a38daf612 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ /solana-release.tar.bz2 /solana-metrics/ /solana-metrics.tar.bz2 -/target/ +**/target/ /test-ledger/ **/*.rs.bk diff --git a/.gitmodules b/.gitmodules index 5ee418f4a8..aa71e4734a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "jito-protos/protos"] path = jito-protos/protos url = org-87542516@github.com:jito-labs/mev-protos-priv.git +[submodule "solana-accountsdb-connector"] + path = solana-accountsdb-connector + url = org-87542516@github.com:jito-labs/solana-accountsdb-connector.git diff --git a/dev/Dockerfile b/dev/Dockerfile index ffb6a85f0f..0f3c3e38f8 100644 --- a/dev/Dockerfile +++ b/dev/Dockerfile @@ -38,4 +38,7 @@ ENV CI_COMMIT=$ci_commit RUN --mount=type=cache,mode=0777,target=/solana/target \ --mount=type=cache,mode=0777,target=/usr/local/cargo/registry \ --mount=type=cache,mode=0777,target=/usr/local/cargo/git \ - cargo build --release && cp target/release/solana* ./docker-output + cargo build --release && cp target/release/solana* ./docker-output && \ + cargo build --release --manifest-path solana-accountsdb-connector/Cargo.toml && \ + cp solana-accountsdb-connector/target/release/libsolana* ./docker-output + diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index a4bcfa5918..c354b5d023 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -26,6 +26,7 @@ ignores=( node_modules jito-programs anchor + solana-accountsdb-connector ) not_paths=() diff --git a/solana-accountsdb-connector b/solana-accountsdb-connector new file mode 160000 index 0000000000..97a65a16d8 --- /dev/null +++ b/solana-accountsdb-connector @@ -0,0 +1 @@ +Subproject commit 97a65a16d8086f993cf9aa7f67b7c51ab28380bc