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

refactor: Update handling of receipts #2

Closed
khorolets opened this issue Sep 17, 2020 · 1 comment
Closed

refactor: Update handling of receipts #2

khorolets opened this issue Sep 17, 2020 · 1 comment
Assignees
Labels

Comments

@khorolets
Copy link
Member

Update the way we are handling Receipts

Receipt may be of type action or data, we need to store them properly.

@khorolets
Copy link
Member Author

Closing by #10

frol pushed a commit that referenced this issue Sep 22, 2022
* refactor: Upgrade to NEAR Lake Framework 0.5.1

* remove .buildkite, add GH Actions workflows, drop redis requirement, fix clippy warnings

* change the version to be relative to the original indexer-for-explorer
morgsmccauley added a commit that referenced this issue Dec 14, 2022
* refactor: Switch from runing NEAR Indexer Framework to NEAR Lake Framework

* start streamer with actix instead of tokio (diesel-actix) is used

* fix find parent tx for receipt logic

* refactor: upgraded to near-lake-framework 0.5.0 (#1)

* refactor: Upgrade to NEAR Lake Framework 0.5.1 (#2)

* refactor: Upgrade to NEAR Lake Framework 0.5.1

* remove .buildkite, add GH Actions workflows, drop redis requirement, fix clippy warnings

* change the version to be relative to the original indexer-for-explorer

* chore: Update test.yml (#3)

* Update test.yml

* update rust version

* update ubuntu version in the workflows

* add libpq-dev to cross Dockerfile

* chore: Upgrade near-lake-framework to 0.5.2 (#4)

* fix: Avoid recreating access key on transfer to implicit account (#5)

* fix: Avoid recreating access key on transfer to implicit account

* refactor: Remove `AccountDeletion` logic as its also covered by `AccessKeyDeletion`

* chore: Update `CHANGELOG.md`

* refactor: use `near_lake_framework` types rather than `near_primitives`

* build: Migrate to Cargo Workspaces (#6)

* build: Create Cargo workspace and empty `indexer` crate

* build: Migrate crate root to workspaces

* feat: Create empty `database` library crate

* refactor: Extract db logic to `database` lib

* refactor: Change `database` logging target to `explorer_database`

* refactor: Rename `db_adapters` -> `adapters`

* refactor: Make current in-use DB funcions public

* refactor: Extract cache logic to `database` lib

* refactor: Replace `near-lake-framework` with `near-indexer-primitives`

* docs: Added a warning to the skipping blocks section in troubleshooting guide (#11)

* feat: Introduce standalone binary to calculate circulating supply via JSON RPC (#10)

* feat: Add empty `circulating_supply` crate

* feat: Add missing db adapaters/models to `database` lib

* feat: Add core circulating supply files

* refactor: Flatten/merge `circulating_supply` files

* fix: Add missing dependencies and fix broken imports

Excluding `near-indexer` and `near-client` as these will be replaced

* refactor: Make in-use circulating_supply functions public

* refactor: Replace `near_indexer::near_primitives` with `near_lake_framework::near_indexer_primitives`

* refactor: Instantiate pg pool in `main`

* refactor: Replace `ViewClient` calls with `JsonRpcClient`

* refactor: `await` circulating_supply in `main`

* chore: Rename `tracing` target `aggregated` -> `circulating_supply`

* refactor: Extract json rpc url to environment variable

* feat: Subscribe to tracing events via `RUST_LOG` env

* feat: Improve logging

* refactor: Replace `near-indexer-framework` with `near-indexer-primtives`

* fix: Base64 decode lockup state before deserializing

* feat: Print `anyhow` errors with cause

* chore: Add note to ensure API use is updated when upgrading near-core

* chore: Use kebab case for workspace crate

* chore: Add missing Changelog/Cargo version entries (#16)

* chore: Update `indexer` to `10.2`

* chore: Update `indexer` to `10.3`

* feat: Add missing diesel `migrations` (#12)

* chore: Move `migrations` to same dir as `Diesel.toml`

* chore: Remove unnecessary `.gitkeep`

* feat: Add missing Diesel migrations

* chore: Update `README.md` for running migrations

* refactor: Use default AWS SDK credentials provider (#14)

* chore: Update `Cargo.toml` version to match previous code changes (#17)

* feat: Enable JSON logging via environment variable (#13)

* feat: Enable JSON logging via environment variable

* chore: Update CHANGELOG & Cargo version

* feat: Expose block metrics from Indexer over http (#15)

* refactor: Move indexer stream to separate thread

* feat: Standup HTTP server

* fix: Ensure lake `ReceiverStream` finishes when process exits

* feat: Serve block metrics via http

* refactor: Rename `HTTP_PORT` -> `PORT`

* chore: Update `CHANGELOG.md` and Cargo version

* refactor: Rename block metrics for clarity

* DPLT-632: Add Dockerfile files for circulating-supply and indexer (#18)

* refactor: Metrics server config/errors (#20)

* refactor: Parse `port` via CLI and env rather than just env

* refactor: Return `anyhow::Result` from `metrics::init_server`

* chore: Drop `-lake` suffix in Cargo name

* chore: Remove unused files

* chore: Delete `release.yml` as we now build in GCP

* chore: Remove `Cross`

* chore: Point to `docs.near.org` instead of `near-indexers.io`

Co-authored-by: Bohdan Khorolets <b@khorolets.com>

* chore: Add link to "store genesis" issue

* chore: Add missing `chain-id` in example command

* chore: Add breaking changes to `CHANGELOG.md`

* chore: Rephrase paragraph about `non-strict-mode`

* chore: Add subheadings for running indexer

* docs: Add notes about docker deployments in Readme

* refactor: Rename `retriable.rs` -> `retryable.rs`

* refactor: List duplicate expr out of match clause

* refactor: Swap indexing/metrics threads

* feat: Handle errors thrown during indexing

* refactor: Drop `-lake` prefix in metrics

Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com>
Co-authored-by: Vlad Frolov <frolvlad@gmail.com>
Co-authored-by: ecp88 <109925246+ecp88@users.noreply.github.com>
Co-authored-by: Bohdan Khorolets <b@khorolets.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants