Skip to content

Diff of master to Naga Prod 2025-11-25#52

Closed
GTC6244 wants to merge 35 commits intorelease-naga-prod-2025-11-25from
master
Closed

Diff of master to Naga Prod 2025-11-25#52
GTC6244 wants to merge 35 commits intorelease-naga-prod-2025-11-25from
master

Conversation

@GTC6244
Copy link
Contributor

@GTC6244 GTC6244 commented Dec 26, 2025

No description provided.

Garandor and others added 21 commits November 25, 2025 15:40
* Test fix actionlint

* Update .github/workflows/lint-workflow-files.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
)

* Support naga-proto

* update workflow

---------

Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
* chore(deps): bump actions/checkout from 5 to 6

Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Test fix actionlint

* Update .github/workflows/lint-workflow-files.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GTC6244 <95836911+GTC6244@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Address storage issues

* Update ABIs and rust bindings

* Restore function

* Update ABIs and rust bindings

* Add comment
* Removed unused and confusing stuff

* Update ABIs and rust bindings

* Mark deprecated field

* Update ABIs and rust bindings

* Fix prettier

* Update ABIs and rust bindings
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Code compatibility - ie, it builds

* cargo fmt

* Update rust/lit-node/lit-node/tests/upgrades/version_upgrades.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* closer

* Simple test that uses different stakers.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Adam Reif <adam@litprotocol.com>
* usd pricing script

* fix wei formatting, comment, and add a space to the log line
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
* development state of 11/17

* clippy

Signed-off-by: Michael Lodder <mike@litprotocol.com>

* blockchain abi ?

---------

Signed-off-by: Michael Lodder <mike@litprotocol.com>
Co-authored-by: Michael Lodder <mike@litprotocol.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
### TL;DR

Added a check to prevent nodes not assigned to a realm from being considered validators.

### What changed?

Added a condition that checks if `realm_id` is zero before proceeding with validator status verification. If a node has a realm ID of zero, it means the node is not assigned to any realm and therefore cannot be a validator, so the function returns `false` immediately.
### TL;DR

Improved error logging for attestation creation failures in the ChatterServer.
a the attestation creation code in the `ChatterService` implementation to use a match statement instead of an if-let pattern. This change allows for capturing and logging the specific error that occurs during attestation creation, rather than just logging a generic error message.

### How to test?

1. Run a Lit node in an environment where attestation creation might fail
2. Check the logs for more detailed error messages that now include the specific error information
3. Verify that the error message format is now `"Error creating attestation: {:?}"` with the actual error details

### Why make this change?

This change enhances debugging capabilities by providing more detailed error information when attestation creation fails. Having the specific error details in the logs will make it easier to diagnose and fix issues related to attestation creation in production environments.
* first pass at price setting script

* price setting script seems like it will work

* script works on dev and prod

* Update blockchain/contracts/scripts/generatePriceSettingTransactions.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* remove unused map

* regen contracts

* 100x decrease for testnets when setting prices

* divide by 10000 when setting naga-test prices

* actually, made naga-test 100000x cheaper than naga prod

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Dec 26, 2025

PASS [ 43.168s] (3/3) lit_node::test toxiproxy::perf_tests::load_with_no_latency
PASS [ 43.378s] (2/3) lit_node::test toxiproxy::perf_tests::load_with_50ms_latency_single_link
PASS [ 88.901s] (1/3) lit_node::test toxiproxy::perf_tests::load_with_50ms_latency_all_links

kapoorabhishek24 and others added 7 commits December 29, 2025 15:06
* Add spans for actions

* Add correlation_id to TracingMiddleware

* Checkout server.rs

* Extract correlation_id'

---------

Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
* Add spans for actions

* Improve metrics

* first pass at adding request id to logs

* Update rust/lit-node/lit-node/src/main.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* change how we set the request id on the span

* clippy

* Add correlation_id to TracingMiddleware

* Checkout server.rs

* Extract correlation_id'

* Fix clippy wanrning

* separate info from gauge metrics (#44)

* Revert "Merge branch 'inf-852-fix-tracing-lit-actions' into inf-753-olly-metrics"

This reverts commit b0a6d38, reversing
changes made to 4a58992.

* Revert "Merge remote-tracking branch 'origin/feature/NODE-4860-correlation-id-in-logs' into inf-753-olly-metrics"

This reverts commit 7be7bbe, reversing
changes made to b0a6d38.

* cargo fmt

---------

Co-authored-by: Chris Cassano <chris@litprotocol.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Adam Reif <adam@litprotocol.com>
* fix(node): use wallet SIWE auth sig in unified ACC

* fix github workflow linting error

* fix compile error

---------

Co-authored-by: Chris Cassano <chris@litprotocol.com>
…#61)

# What

Improve error handling during node startup for PeerState creation and TSS state initialization.

# Why

Lack of detailed error information when critical components fail to initialize makes it difficult to diagnose startup issues.

# Background

We wasted too much time figuring out why a newly recreated node wasn't able to join the network. If it's due to the AW registration failing, it should now be obvious from the logs

# Risks

- No functional changes to the code logic, only improved error handling
- The changes maintain the same behavior of panicking on critical initialization failures, but with better error reporting
…ro exit) (#63)

# What

Improve error handling and diagnostics for Rocket HTTP server launch failures.

# Why

Previously, Rocket launch errors (such as port bind failures) were silently ignored, making it difficult to diagnose server startup issues. This change ensures that launch failures are properly logged and propagated, causing the application to exit with a non-zero status code.

# Risks

`join_all` (wait for all futures to exit) was changed and now exits `lit-node` when a single rocket fails to launch and with nonzero exit, which could have downstream effects on systemd and other supervisors.
* add readme

* publish sdk

* put path dependency back but just specify a version

* regen lit-os cargo lockfile

* fix some build errors

* update cargo.lock files for lit-os and lit-core

---------

Co-authored-by: Brendon <95836911+GTC6244@users.noreply.github.com>
GTC6244 and others added 7 commits January 13, 2026 13:38
* Port code from the prod release PR.

* c&p

* Update rust/lit-node/lit-node/tests/common/faults.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update rust/lit-node/lit-node/tests/toxiproxy/chain_faults.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* remove comment

* Update rust/lit-node/lit-node-testnet/src/testnet/actions.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update rust/lit-node/lit-node/tests/toxiproxy/chain_faults.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* formatting

* cargo fmt

* ack.

* ack.

* fix fault test setup

* ignore redundant chain fault test - but keep as model.

* re-add >= to epoch/previous epoch check

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
### TL;DR

- Configures k256 contract address as `0x029bedeacaf6821ce9a6bd7c8ac73350f24a014f`
- Updated the unused P256 contract address to a placeholder value in hardhat configuration.
* first pass at adding request id to logs

* Update rust/lit-node/lit-node/src/main.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* change how we set the request id on the span

* clippy

* Refactor spans behaviour

* Fix fallback ID

* Add Rocket fairings

* Remove redundant tracing

* optimise tests

* Address feedback

* Remove fallback UUID

* Leverage Dashmap

* build lit-os to rebuild cargo.lock

* rebuild lit actions and lit-node

* remove correlation_id from /web/job_status/v2 instrumentation since it's only on this one endpoint

* Revert "remove correlation_id from /web/job_status/v2 instrumentation since it's only on this one endpoint"

This reverts commit 7c4f5f9.

---------

Co-authored-by: Chris Cassano <chris@litprotocol.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Adam Reif <adam@litprotocol.com>
* draft priority-aware RPC healtcheck poller

* Update selection logic

* exclude priority from RpcEntry

* Add feedback

* Re-add empty check

---------

Co-authored-by: Abhi... <Kapoorabhishek24@gmail.com>
* Make git_info.rs static but dynamically generated on compile

* fix constness
…des aka min threshold (#71)

* divide expected prices by number of required nodes aka min threshold

* clean up script and redundant vars
@GTC6244
Copy link
Contributor Author

GTC6244 commented Jan 19, 2026

No longe relavent.

@GTC6244 GTC6244 closed this Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants