Commit Graph
23 Commits
Author SHA1 Message Date
zeekay d6f2202a4f docs: chain routes are /v1/chain
luxd serves chain APIs under one segment from constants.ChainAliasPrefix
(constants v1.6.4, node v1.36.181):

  /v1/bc/<alias>/...   -> /v1/chain/<alias>/...
  /ext/bc/<alias>/...  -> /v1/chain/<alias>/...

Observations keep their original addresses: a dated note or a recorded status
code is a fact about when it was written, not an instruction to follow.
2026-08-30 17:12:20 -07:00
zeekayandHanzo Dev e8187ae5a5 Dial /v1, the only prefix luxd serves
luxd pins baseURL="/v1" (node/server/http/server.go:33) and has never
served /ext, so both exported constructors — plugin/evm/client.NewClient
and warp.NewClient — built a path no node answers. They are the seam
every out-of-tree caller goes through: cli/pkg/utils/staking.go,
sdk/validatormanager/uptime.go and netrunner/api all hand them a bare
node URI, and staking.go's own SplitRPCURI already parsed /v1/bc/<id>/rpc.
Those callers were already on /v1; this package was the lagging outlier,
so fixing it here fixes all of them without touching one.

Also corrects the simulator's default websocket endpoint, the hardhat
default, and the docs — including api.testnet.lux.network, which does not
serve RPC at all. The testnet host is api.lux-test.network (chainId
0x17870). Prefix-only sweeps miss that class of error.

Tests pin the constructed path against an httptest server, with both an
alias and a blockchain ID, so a future prefix change fails loudly instead
of silently 404ing in production.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-27 19:07:09 -07:00
zeekay 0a3ee38673 canonical: drop SubnetEVMTimestamp alias — single evmTimestamp field 2026-05-05 21:30:49 -07:00
zeekay 4decbb6d72 evm/docs: Snow → Quasar canonical 2026-05-05 19:14:42 -07:00
zeekay d32e075809 refactor: update to vm v1.0.18, migrate log and metrics packages
- Update vm dependency to v1.0.18
- Remove internal log package in favor of luxfi/log
- Migrate prometheus to gatherer package
2026-01-11 21:38:34 -08:00
zeekay 4b7da04687 Use luxfi/math/math instead of geth/common/math 2026-01-03 17:37:03 -08:00
zeekay 2a90ee48d5 docs: add beautiful landing page with features grid 2025-12-25 03:18:27 -08:00
zeekay 162e4f6668 refactor: remove all SubnetEVM references and backward compatibility
- Rename plugin/evm/upgrade/subnetevm package to feewindow
- Rename SubnetEVMTimestamp to EVMTimestamp (JSON: evmTimestamp)
- Rename IsSubnetEVM method to IsEVM
- Rename SubnetEVMDefaultChainConfig to EVMDefaultChainConfig
- Rename TestSubnetEVMChainConfig to TestEVMChainConfig
- Rename TestPreSubnetEVMChainConfig to TestPreEVMChainConfig
- Rename ethclient/subnetevmclient to ethclient/evmclient
- Update VM factory ID from "subnetevm" to "evm"
- Remove all backward compatibility aliases
- Update all documentation and comments

Breaking change: This removes all SubnetEVM naming - only "EVM" is supported.
No backward compatibility maintained as per user requirement.
2025-12-21 10:26:52 -08:00
zeekay 912ba5807c chore: remove deprecated migrate API, use admin API from geth
- Remove plugin/evm/api_migrate.go (use admin_exportChain/importChain)
- Remove MigrateAPIEnabled config option
- Use standard geth admin API for block import/export
- Full cryptographic validation via InsertChain
2025-12-16 11:50:48 -08:00
zeekay 6cee3f0f39 evm: fix precompiles and add ML-DSA support
- Fix pqcrypto precompile API
  * Correct ML-KEM/ML-DSA/SLH-DSA verify patterns
  * Use PublicKeyFromBytes() -> Verify() pattern
  * All tests passing

- Add ML-DSA precompile at 0x0200...0006
  * Complete implementation with tests
  * Gas cost: 100k base + 10 per message byte
  * Performance: ~108μs verify time
  * FIPS 204 compliant via circl

- Fix warp precompile
  * Correct signature verification
  * Update tests

- Re-enable skipped tests
  * vm_upgrade_bytes_test.go
  * vm_validators_test.go
  * vm_warp_test.go
  * load_test.go
  * warp_test.go

- Add gossip logger adapter
- Update database implementations
- Fix config tests

All precompiles now working with real post-quantum crypto
2025-11-22 16:37:24 -08:00
zeekay 477418aef8 Replace tyler-smith/go-bip39 with luxfi/go-bip39 2025-08-01 21:21:16 +00:00
zeekay b1979b4a02 Update EVM 2025-08-01 01:23:42 +00:00
zeekay 065c36213e Update consensu 2025-07-24 00:28:52 -05:00
zeekay 9990441454 Adapt EVM to be new C-chain 2025-07-24 00:25:45 -05:00
zeekay 19fe8dc2c7 Replace ethereum/go-ethereum references with luxfi/geth
- Updated go:generate comments to use luxfi/geth instead of ethereum/go-ethereum
- Fixed GitHub issue/PR references to point to luxfi repositories
- Updated comments referencing the Lux geth fork
- Part of the migration to unified EVM architecture with Lux consensus
2025-07-23 17:34:24 -05:00
zeekay 66651957a4 Update docs 2025-07-21 19:04:03 -05:00
zeekay 8da155c1b1 Update imports 2025-07-18 01:55:16 +00:00
zeekay 9cb77af539 fix: remove ALL ava-labs/libevm imports
- Remove all references to github.com/ava-labs/libevm
- Clean up imports in state, triedb, and test files
2025-07-17 17:06:20 -05:00
Ceyhun OnurandGitHub d301d57063 chore: release v0.7.5 (#1609) 2025-06-26 13:01:58 +00:00
b76ca05159 Releases/v0.7.4 rc.0 (#1592)
Co-authored-by: Stephen Buttolph <[email protected]>
2025-06-04 22:41:59 +00:00
5a2142701a docs: add releasing readme document (#1538)
Signed-off-by: Quentin McGaw <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
2025-05-15 14:58:10 +00:00
Michael KaplanandGitHub be2007d14d chore(docs): Add 2023 Least Authority Audit (#1499) 2025-03-14 22:09:27 +00:00
JacobEverlyandGitHub 185696df17 Add Warp Audits (#1078)
* Create readme

Signed-off-by: JacobEverly <[email protected]>

* Add files via upload

Signed-off-by: JacobEverly <[email protected]>

* Delete audits/readme

Signed-off-by: JacobEverly <[email protected]>

* adjust files

* Create readme

Signed-off-by: JacobEverly <[email protected]>

* Add files via upload

Signed-off-by: JacobEverly <[email protected]>

* Rename Avalanche Warp Messaging Audit Report OpenZeppelin.pdf to Avalanche Warp Messaging Audit Report OpenZeppelin (November 16th 2023).pdf

Signed-off-by: JacobEverly <[email protected]>

* Rename Least Authority - Ava Labs Bridge Smart Contracts Final Audit Report (1).pdf to Least Authority - Ava Labs Bridge Smart Contracts Final Audit Report (July 7th 2023).pdf

Signed-off-by: JacobEverly <[email protected]>

* Delete docs/audits/readme

Signed-off-by: JacobEverly <[email protected]>

* Rename Avalanche Warp Messaging Audit Report OpenZeppelin (November 16th 2023).pdf to Avalanche Warp Messaging - OpenZeppelin (November 16th 2023).pdf

Signed-off-by: JacobEverly <[email protected]>

* Rename Least Authority - Ava Labs Bridge Smart Contracts Final Audit Report (July 7th 2023).pdf to Bridge Smart Contracts - Least Authority (July 7th 2023).pdf

Signed-off-by: JacobEverly <[email protected]>

---------

Signed-off-by: JacobEverly <[email protected]>
2024-02-09 11:29:41 +03:00