mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
Take the fee types from their permanent home, and let go of the node
luxfi/node is being retired. Six of the seven packages chains once reached into it for already come from their new homes; the fee types were the last, and they were held here only by the oraclevm and relayvm feegate tests. Those two assert on the policy value that luxfi/oracle and luxfi/relay hand back, so they could not move before those modules did. oracle v1.1.3 and relay v1.1.2 build against luxfi/vm/vms/types/fee, so the tests now compare against the same type the VM returns rather than a look-alike from the node. With that, no source or requirement in chains names luxfi/node. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module github.com/luxfi/chains
|
||||
|
||||
go 1.26.4
|
||||
go 1.26.5
|
||||
|
||||
require (
|
||||
github.com/consensys/gnark-crypto v0.20.1
|
||||
@@ -9,7 +9,7 @@ require (
|
||||
github.com/holiman/uint256 v1.3.2
|
||||
github.com/luxfi/accel v1.3.2
|
||||
github.com/luxfi/ai v0.1.0
|
||||
github.com/luxfi/consensus v1.36.63
|
||||
github.com/luxfi/consensus v1.36.81
|
||||
github.com/luxfi/constants v1.6.2
|
||||
github.com/luxfi/crypto v1.20.5
|
||||
github.com/luxfi/database v1.21.5
|
||||
@@ -20,17 +20,16 @@ require (
|
||||
github.com/luxfi/log v1.4.3
|
||||
github.com/luxfi/math v1.5.1
|
||||
github.com/luxfi/metric v1.8.1
|
||||
github.com/luxfi/node v1.36.15
|
||||
github.com/luxfi/oracle v1.1.1
|
||||
github.com/luxfi/oracle v1.1.3
|
||||
github.com/luxfi/precompile v0.19.8
|
||||
github.com/luxfi/relay v1.1.1
|
||||
github.com/luxfi/relay v1.1.2
|
||||
github.com/luxfi/runtime v1.3.1
|
||||
github.com/luxfi/sys v0.1.0
|
||||
github.com/luxfi/threshold v1.12.6
|
||||
github.com/luxfi/timer v1.1.1
|
||||
github.com/luxfi/validators v1.3.1
|
||||
github.com/luxfi/version v1.0.1
|
||||
github.com/luxfi/vm v1.3.16
|
||||
github.com/luxfi/version v1.1.2
|
||||
github.com/luxfi/vm v1.3.17
|
||||
github.com/luxfi/warp v1.24.1
|
||||
github.com/luxfi/zap v1.2.6
|
||||
github.com/stretchr/testify v1.11.1
|
||||
@@ -95,7 +94,6 @@ require (
|
||||
github.com/gballet/go-libpcsclite v0.0.0-20250918194357-1ec6f2e601c6 // indirect
|
||||
github.com/getsentry/sentry-go v0.46.2 // indirect
|
||||
github.com/go-ini/ini v1.67.0 // indirect
|
||||
github.com/go-json-experiment/json v0.0.0-20260601182631-00ed12fed2a6 // indirect
|
||||
github.com/go-logr/logr v1.4.3 // indirect
|
||||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/go-ole/go-ole v1.3.0 // indirect
|
||||
@@ -129,7 +127,7 @@ require (
|
||||
github.com/luxfi/age v1.6.0 // indirect
|
||||
github.com/luxfi/api v1.1.9 // indirect
|
||||
github.com/luxfi/atomic v1.0.0 // indirect
|
||||
github.com/luxfi/cache v1.3.1 // indirect
|
||||
github.com/luxfi/cache v1.3.5 // indirect
|
||||
github.com/luxfi/compress v0.1.1 // indirect
|
||||
github.com/luxfi/concurrent v0.1.1 // indirect
|
||||
github.com/luxfi/container v0.2.2 // indirect
|
||||
@@ -157,7 +155,7 @@ require (
|
||||
github.com/luxfi/sampler v1.1.0 // indirect
|
||||
github.com/luxfi/trace v1.2.1 // indirect
|
||||
github.com/luxfi/upgrade v1.0.3 // indirect
|
||||
github.com/luxfi/utils v1.3.1 // indirect
|
||||
github.com/luxfi/utils v1.3.3 // indirect
|
||||
github.com/luxfi/zapdb v1.10.6 // indirect
|
||||
github.com/mattn/go-colorable v0.1.15 // indirect
|
||||
github.com/mattn/go-isatty v0.0.22 // indirect
|
||||
|
||||
@@ -144,8 +144,6 @@ github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxI
|
||||
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
|
||||
github.com/go-ini/ini v1.67.0 h1:z6ZrTEZqSWOTyH2FlglNbNgARyHG8oLW9gMELqKr06A=
|
||||
github.com/go-ini/ini v1.67.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
|
||||
github.com/go-json-experiment/json v0.0.0-20260601182631-00ed12fed2a6 h1:nxP4pPoyqOAgX8lYDFCfl3DyKeXErCvSvhcyzwGV9CE=
|
||||
github.com/go-json-experiment/json v0.0.0-20260601182631-00ed12fed2a6/go.mod h1:tphK2c80bpPhMOI4v6bIc2xWywPfbqi1Z06+RcrMkDg=
|
||||
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
|
||||
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
|
||||
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
|
||||
@@ -258,14 +256,14 @@ github.com/luxfi/api v1.1.9 h1:JBSnh8P/6JARW8oADPLdTb9qMdh1WsJrQEAhsWKhBmY=
|
||||
github.com/luxfi/api v1.1.9/go.mod h1:I8nB0+qNkJ7CHZpQl5Oy8ik3m53C/Dl33RkSD7EzUg4=
|
||||
github.com/luxfi/atomic v1.0.0 h1:xUV60MuzRvXngaQ1sM0yVC2v4TRoLlUGkkH7M9PS4yw=
|
||||
github.com/luxfi/atomic v1.0.0/go.mod h1:0G2mTlQ6TXWHICUHrUUPu1/qAiIyR4gSZ2tva9ci/bI=
|
||||
github.com/luxfi/cache v1.3.1 h1:grQhi/B5GKypG7avDMeY143QTgFbfEvQICKNIh1Cw6U=
|
||||
github.com/luxfi/cache v1.3.1/go.mod h1:2MokdbeNUy/9O3mdREWkE6BiN7tRvePkXiKkcb+4M7g=
|
||||
github.com/luxfi/cache v1.3.5 h1:k2shOd9S0tmRV6BKReRgcEM7eqydFw3E/YTWRSQJ848=
|
||||
github.com/luxfi/cache v1.3.5/go.mod h1:q21aXAWb7Ak3ZWVrzFCHPP4MvTJp6FI4z/A6TSfTO8M=
|
||||
github.com/luxfi/compress v0.1.1 h1:cQjRYQFRrw8HinjW1T8FmKgqdRwrFYDCdecc1t0i+uQ=
|
||||
github.com/luxfi/compress v0.1.1/go.mod h1:d4CkRRmwPzafIp57Jxra3RmAmNwNwU8Oc0QBBRlTqGo=
|
||||
github.com/luxfi/concurrent v0.1.1 h1:LkAmNXybOsAm97nFILqMDBp/YLgleuLmyGomFT7YNxU=
|
||||
github.com/luxfi/concurrent v0.1.1/go.mod h1:GlkfiJtPBpatNxvROf7hkPi4gsnmdHGmqhDnVWFrkZE=
|
||||
github.com/luxfi/consensus v1.36.63 h1:lgDVIQKmx8v184VVA/8qNMT5wXMqlJEZG3zX32mnyis=
|
||||
github.com/luxfi/consensus v1.36.63/go.mod h1:BxuxU2P5FUtOexN3e4AFlY4k8ESJi5hs2WtRE7pEL/A=
|
||||
github.com/luxfi/consensus v1.36.81 h1:zME1Wv5kLaoy9AF1cLQt2IvSUZL1p4JdPe2zFsSkWHk=
|
||||
github.com/luxfi/consensus v1.36.81/go.mod h1:BxuxU2P5FUtOexN3e4AFlY4k8ESJi5hs2WtRE7pEL/A=
|
||||
github.com/luxfi/constants v1.6.2 h1:pXHdKIFbfE9qX4xOjq2LxYvagNhhNvspUVEbPcIEKfA=
|
||||
github.com/luxfi/constants v1.6.2/go.mod h1:r0oH8C/+r/XFYBq1AJxt6zWRKKRKgDzrEMop/CCs9rI=
|
||||
github.com/luxfi/container v0.2.2 h1:/IunVpvNuwsqwAYjJSibDskmH/39y4pRKQxrrMLF5Qk=
|
||||
@@ -322,10 +320,8 @@ github.com/luxfi/mlwe v0.3.0 h1:5mtXLbO2RxaE45r75sj43c6UdpjDKQ5nTQcOGuoRQT8=
|
||||
github.com/luxfi/mlwe v0.3.0/go.mod h1:DD9EHTeiyh/y0KGGeqL+q9S4n8raeGiGdaG/BQPAvT0=
|
||||
github.com/luxfi/mock v0.1.1 h1:0HEtIjg1J6CWz+IUyP6rsGqNWTcmxjFnSQIhaDuARwY=
|
||||
github.com/luxfi/mock v0.1.1/go.mod h1:jo35akl3Vtd8LbzDts8VJ0jmSVycrd1/eBi6g6t5hKU=
|
||||
github.com/luxfi/node v1.36.15 h1:tpa1Z0OjJ1QD2kuzrTlpyavE0YL7EEZL+qEhnrZ2VAs=
|
||||
github.com/luxfi/node v1.36.15/go.mod h1:35u+z4SbpTjOLLXuCQcfrqD5voSI88osoTru0UoNv4Q=
|
||||
github.com/luxfi/oracle v1.1.1 h1:KwU9TEeHdJb+vc6VJlMxS7nKhLOJ9EI4WGqxwSJp/J0=
|
||||
github.com/luxfi/oracle v1.1.1/go.mod h1:ST/4cVIUBa08GnkI9vQbfg8GGt0oDCXfTnEkx0WsnPs=
|
||||
github.com/luxfi/oracle v1.1.3 h1:8wPIdpoKi6gMOCndK3OS0KNqd7s8TRPBizPJ4CTf9fM=
|
||||
github.com/luxfi/oracle v1.1.3/go.mod h1:TqEresyUZ+aSd+wLDEkJp7WxV4bS3JvJCumGjgCqz1M=
|
||||
github.com/luxfi/p2p v1.22.1 h1:M59Iy+FIJta99aFfTpG6EE70jm9uqIX+iHrGBYPHDhg=
|
||||
github.com/luxfi/p2p v1.22.1/go.mod h1:FHOSavVcq8JS1ZQtfddd9Jj1gaPstz1cjvNgczAQRyg=
|
||||
github.com/luxfi/pq v1.1.0 h1:ADplfUSyirLymSxs3Ix0HeDTyl5oswCNUpXJt/5vLY8=
|
||||
@@ -336,8 +332,8 @@ github.com/luxfi/proto v1.4.2 h1:dEGTE7xOWVPTXRZNDBJfwh2Q19vE7MQBhyXXmWenw+8=
|
||||
github.com/luxfi/proto v1.4.2/go.mod h1:vwVkrC9ghhuCL8bluA59+G5jaD6WuqiDyd1iKh7yzOE=
|
||||
github.com/luxfi/pulsar v1.9.2 h1:pFLoAfBlCwFZfchqHn78J6yMe29AhaoKGRa/KTUP8CE=
|
||||
github.com/luxfi/pulsar v1.9.2/go.mod h1:uTOtribcUvTTwAOy0Ztg0S2AUiNAsVqFfopTrKW+zjM=
|
||||
github.com/luxfi/relay v1.1.1 h1:s5gH9dmTyz2X+K4GvCSuG4baZLjiJxK8ji8xvqj5k1E=
|
||||
github.com/luxfi/relay v1.1.1/go.mod h1:jdgwxl8G0iykzyqW43uazRPsdz49awgv24kev3cMiQI=
|
||||
github.com/luxfi/relay v1.1.2 h1:0cJvoiE6l/4m2/ErKeF3B+WNdYiFUDue444Absdb7ug=
|
||||
github.com/luxfi/relay v1.1.2/go.mod h1:mzEcpMOdNP57xTtmMDOvLfLXlC3l/IWrihQfKEVCW2I=
|
||||
github.com/luxfi/resource v0.1.1 h1:k11s5xLGX85UWq/iLZyWLhnqeLTlp3FHEt8u/8AHdkY=
|
||||
github.com/luxfi/resource v0.1.1/go.mod h1:s7SbZOSVbgj9bWFOcLCcXgnMlHxbqtqhAeJ3f0Xuy/Y=
|
||||
github.com/luxfi/runtime v1.3.1 h1:vsQZ3sl6XMeyHuNGCMM86d0whrE/lhMre4CCJaClPdE=
|
||||
@@ -354,16 +350,16 @@ github.com/luxfi/trace v1.2.1 h1:MPV079P2eTijB7F06AyJU1HJwpQVxRx1qYXhva9YsvM=
|
||||
github.com/luxfi/trace v1.2.1/go.mod h1:/bX8g0RRHPHUq7kX8of/Aaq6C7rD0JuNH57vVbw7ZG8=
|
||||
github.com/luxfi/upgrade v1.0.3 h1:mFMfIb88HzoL4fp7I6w1g+VnxlAWj6UQdZOdf4AkCLk=
|
||||
github.com/luxfi/upgrade v1.0.3/go.mod h1:3c/u4T/n7EsODofkWg5VigSt9BATQM8EmaNttfHMCrU=
|
||||
github.com/luxfi/utils v1.3.1 h1:Us02ag60kGu94B41XIelExa7c+K6zPKwDJyq+eB+hc0=
|
||||
github.com/luxfi/utils v1.3.1/go.mod h1:ROZrzpt6Kx8ttS1mo12oqsOzRB088GQ1h9jXEoDDpNA=
|
||||
github.com/luxfi/utils v1.3.3 h1:U9al9CCQ41TwQA6+HfqhjCORHWZ4P6g2ax+AeKJ9k9c=
|
||||
github.com/luxfi/utils v1.3.3/go.mod h1:jM/bJ4OuypDniZ/5ydsgGU3Tvuq05flLNFciJIJFyU8=
|
||||
github.com/luxfi/utxo v0.5.8 h1:HydTOKERb8vY0Z39Dvg/V3qg7My3N/eXOY4nLv3iezg=
|
||||
github.com/luxfi/utxo v0.5.8/go.mod h1:kqkwMm99NbWwGZrOzuRzF0vck+lCJwrlejmmCwj5pZc=
|
||||
github.com/luxfi/validators v1.3.1 h1:+/7j0CTXlMKyaSLFM+gd6Fq64/edORJfrD/xGnf7Xcg=
|
||||
github.com/luxfi/validators v1.3.1/go.mod h1:sIQyUZOvXoJ/9/RCOhHSzjumZIoxiqacNOn5mQWVozU=
|
||||
github.com/luxfi/version v1.0.1 h1:T/1KYWEMmsrNQk7pN7PFPAwh/7XbeX7cFAKLBqI37Sk=
|
||||
github.com/luxfi/version v1.0.1/go.mod h1:Y5fPkQ2DB0XRBCxgSPXp4ISzL1/jptKnmFknShRJCyg=
|
||||
github.com/luxfi/vm v1.3.16 h1:2/TkiHygLH2sEYdPFBalHAt7I3nllo/c68mrMSq/BjU=
|
||||
github.com/luxfi/vm v1.3.16/go.mod h1:TXm/WLxH8WF/NRhiiLd7VPVaDvVqLPzmQFnzp/T2kAY=
|
||||
github.com/luxfi/version v1.1.2 h1:igS0KknKA8jp/+Q1CVx9hYW4iKtQVJf1UThhPXptndY=
|
||||
github.com/luxfi/version v1.1.2/go.mod h1:r0hAWbTMYR/LPYINUUUUl0ZFrndaPmvpbSgZsYujf1c=
|
||||
github.com/luxfi/vm v1.3.17 h1:S9TDdlqg7igNBuLyWdnjC/YivBFlbhue9rMg1U2A8Js=
|
||||
github.com/luxfi/vm v1.3.17/go.mod h1:XHXQRIsaW4914JITUwdwmZycMtpz1L940FEeDc6fg1k=
|
||||
github.com/luxfi/warp v1.24.1 h1:9F+z6fy4sxmXp+3LlR9m3TiZ8Dfthh+s5KOeewSJL30=
|
||||
github.com/luxfi/warp v1.24.1/go.mod h1:kRGQDt6EB3oRLYo71aXqnmJuCBVfND3oQ5/2miaLoyg=
|
||||
github.com/luxfi/zap v1.2.6 h1:NBpbm9Gib41Oi/XAkAZKQ3hb+xCafo7JsrUjw+bKiAc=
|
||||
|
||||
@@ -10,10 +10,10 @@ import (
|
||||
"github.com/luxfi/database/memdb"
|
||||
"github.com/luxfi/ids"
|
||||
"github.com/luxfi/log"
|
||||
"github.com/luxfi/node/vms/types/fee"
|
||||
"github.com/luxfi/runtime"
|
||||
vmcore "github.com/luxfi/vm"
|
||||
"github.com/luxfi/vm/chain"
|
||||
"github.com/luxfi/vm/vms/types/fee"
|
||||
)
|
||||
|
||||
// feegate.go states that a caller constructing a VM through this shim
|
||||
|
||||
@@ -11,10 +11,10 @@ import (
|
||||
"github.com/luxfi/database/memdb"
|
||||
"github.com/luxfi/ids"
|
||||
"github.com/luxfi/log"
|
||||
"github.com/luxfi/node/vms/types/fee"
|
||||
"github.com/luxfi/runtime"
|
||||
vmcore "github.com/luxfi/vm"
|
||||
"github.com/luxfi/vm/chain"
|
||||
"github.com/luxfi/vm/vms/types/fee"
|
||||
)
|
||||
|
||||
// feegate.go states that a caller constructing a VM through this shim
|
||||
|
||||
Reference in New Issue
Block a user