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

Fixing docker files to work with workspace #164

Merged
merged 3 commits into from
Jan 24, 2024
Merged

Conversation

danenbm
Copy link
Contributor

@danenbm danenbm commented Jan 24, 2024

Notes

  • Cleaned up extraneous copies and added the missing cargo chef cook steps in das_api and nft_ingester. Before it wasn't actually running the cargo chef cook step for those two.
  • However, currently cargo chef stuff can build load_generation but not das_api and nft_ingester. See error message below. Its as if its not activating the rpc feature for digital-asset-types:
  • For the short term to unblock this work, I commented out the cargo chef cook step for das_api and nft_ingester which makes it equivalent to how it built prior to this PR.

Testing

  • This version builds and runs.
  • Sent Bubblegum transactions using the transaction forwarder and they properly indexed into the Postgres database.
  • Can access the DAS API served on localhost.

Error message before commenting out cargo chef cook for das_api and nft_ingester

101.0    Compiling das_api v0.7.2 (/rust/das_api)
101.2 error[E0433]: failed to resolve: could not find `rpc` in `digital_asset_types`
101.2  --> das_api/src/api/mod.rs:3:26
101.2   |
101.2 3 | use digital_asset_types::rpc::filter::{AssetSortDirection, SearchConditionType};
101.2   |                          ^^^ could not find `rpc` in `digital_asset_types`
101.2 
101.2 error[E0433]: failed to resolve: could not find `rpc` in `digital_asset_types`
101.2  --> das_api/src/api/mod.rs:4:26
101.2   |
101.2 4 | use digital_asset_types::rpc::options::Options;
101.2   |                          ^^^ could not find `rpc` in `digital_asset_types`
101.2 
101.2 error[E0433]: failed to resolve: could not find `rpc` in `digital_asset_types`
101.2  --> das_api/src/api/mod.rs:5:26
101.2   |
101.2 5 | use digital_asset_types::rpc::response::{AssetList, TransactionSignatureList};
101.2   |                          ^^^ could not find `rpc` in `digital_asset_types`

@danenbm danenbm requested a review from fanatid January 24, 2024 18:03
@danenbm danenbm marked this pull request as ready for review January 24, 2024 19:06
@danenbm danenbm merged commit 1ca4534 into main Jan 24, 2024
3 checks passed
@danenbm danenbm deleted the danenbm/docker-fix branch January 24, 2024 22:37
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.

2 participants