Wanwiset Peerapatanapokin
05a0f20009
Merge pull request #752 from XinFinOrg/devnet-statsserver-typo
...
fix typo and local script
2024-12-03 11:44:44 +04:00
wanwiset25
448fe9a746
fix typo and local script
2024-12-03 02:29:40 +04:00
Wanwiset Peerapatanapokin
9cf63d50e4
Merge pull request #749 from XinFinOrg/devnet-bootnode
...
Devnet bootnode
2024-12-02 12:27:44 +04:00
wanwiset25
e257b521ce
change devnetstats url
2024-12-02 09:06:48 +08:00
wanwiset25
f646ddd2db
add store-reward flag by default
2024-11-29 21:06:05 +08:00
wanwiset25
c369253b5c
update bootnode check script
2024-11-29 15:58:44 +04:00
wanwiset25
7d41e834e4
new devnet bootnodes
2024-11-29 15:58:44 +04:00
benjamin202410
a8560300a4
fix vote test and optimize log ( #750 )
...
Co-authored-by: liam.lai <liam.lai@us>
2024-11-29 03:14:25 -08:00
Daniel Liu
4278930885
Merge pull request #741 from gzliudan/cli-v2
...
cmd: migrate to urfave/cli/v2
2024-11-25 17:25:53 +08:00
Daniel Liu
ae56946690
internal/flags: remove low-use type TextMarshalerFlag ( #30707 )
2024-11-25 16:39:29 +08:00
Daniel Liu
a6192a5980
internal/flags: fix --miner.gasprice default listing ( #28932 )
2024-11-25 16:39:29 +08:00
Daniel Liu
ac611170d1
internal/flags: add missing flag types for auto-env-var generation ( #28692 )
...
Certain flags, such as `--rpc.txfeecap` currently do not have an env-var auto-generated for them. This change adds three missing cli flag types to the auto env-var helper function to fix this.
2024-11-25 16:39:29 +08:00
Daniel Liu
4e192a5172
cmd/XDC, internal/flags: print envvar config source and bad names ( #28119 )
2024-11-25 16:39:29 +08:00
Daniel Liu
87ddf502ce
internal/flags: fix loading env vars for custom flags ( #28117 )
2024-11-25 16:39:29 +08:00
Daniel Liu
197551c729
cmd/geth, internal/flags, go.mod: colorize cli help, support env vars ( #28103 )
2024-11-25 16:39:29 +08:00
Daniel Liu
bda88affe6
cmd/XDC: add version in --help output ( #26895 )
2024-11-25 16:39:29 +08:00
Daniel Liu
fa69900737
Use filepath.clean instead of path.clean ( #26404 )
...
* internal/flags: use filepath.Clean instead of path.Clean
* internal/flags: fix windows pipe issue
* internal/flags: modify test for windows
* internal/flags: use backticks, fix test
2024-11-25 16:39:29 +08:00
Daniel Liu
9b8a82b91f
internal/flags: fix issue with stringslice migration ( #25830 )
...
This fixes a cornercase bug where the flag migration would mess
up the value of StringSlice flags.
2024-11-25 16:39:29 +08:00
Daniel Liu
3e1ea87ca2
cmd/XDC: fix some cli parsing issues ( #25234 )
2024-11-25 16:39:29 +08:00
Daniel Liu
369d69649f
all: normalize flag's name
2024-11-25 16:39:29 +08:00
Daniel Liu
b883b0b593
internal/flags: fix flag redefined bug for cli v2 aliases ( #30796 )
2024-11-25 16:39:29 +08:00
Daniel Liu
dcab7e8efb
cmd: migrate to urfave/cli/v2 ( #24751 )
2024-11-25 16:39:29 +08:00
Daniel Liu
017dcdd756
Merge pull request #737 from JukLee0ira/fix-node
...
node, p2p/simulations: fix node.Node AccountsManager leak
2024-11-25 16:35:40 +08:00
JukLee0ira
6f9fb9d1da
node, p2p/simulations: fix node.Node AccountsManager leak ( #19004 )
2024-11-25 16:33:26 +08:00
Anil Chinchawale
fe801c88d4
Merge pull request #743 from XinFinOrg/bug-fix-use-right-block-to-count-vote-theshold
...
bug fix use right block to count vote threshold
2024-11-22 13:37:57 +05:30
liam.lai
809242223a
bug fix use right block to count vote theshold
2024-11-22 00:04:39 -08:00
Daniel Liu
962be21184
Merge pull request #742 from gzliudan/fix-pr734
...
use global function when cli v1
2024-11-21 17:58:56 +08:00
Daniel Liu
bd916d100a
cmd/evm, internal/debug: use global functions when cli v1
2024-11-21 17:40:51 +08:00
Daniel Liu
8e72c6dafb
Merge pull request #739 from gzliudan/fix-preCheck
...
core: fix preCheck for RandomizeSMC after EIP-1559
2024-11-19 15:58:06 +08:00
Daniel Liu
4855f19261
core: fix preCheck for RandomizeSMC after EIP-1559
2024-11-19 14:19:57 +08:00
benjamin202410
370c6b62e7
update devnet 1559 block number ( #736 )
...
* update devnet 1559 block number
* update devnet 1559 block number
---------
Co-authored-by: liam.lai <liam.lai@us>
2024-11-17 21:23:19 -08:00
Daniel Liu
d7e72f3e71
Merge pull request #642 from gzliudan/rm-ewasm
...
core/vm: remove interface Interpreter
2024-11-15 22:30:53 +08:00
Daniel Liu
4cac1865ba
all: remove noop vm config flags ( #23111 )
2024-11-15 20:12:49 +08:00
Daniel Liu
88cf3e7827
Merge pull request #647 from gzliudan/eip-1153
...
all: implement EIP-1153(transient storage)
2024-11-15 19:49:17 +08:00
Daniel Liu
ed242b4763
all: implement EIP-1153 transient storage ( #26003 )
2024-11-15 19:39:18 +08:00
Daniel Liu
1c5e564433
Merge pull request #733 from JukLee0ira/mobile-nuke
...
accounts, build, mobile: remove Android and iOS support
2024-11-15 15:48:48 +08:00
JukLee0ira
cba5782884
accounts, build, mobile: remove Android and iOS support ( #26599 )
2024-11-15 15:46:25 +08:00
Daniel Liu
77b0c0b88f
Merge pull request #734 from gzliudan/upgrade-log
...
upgrade package log to 2024-11-04
2024-11-15 15:41:25 +08:00
Daniel Liu
5bfaf068a4
log: fix issues with benchmarks ( #30667 )
2024-11-15 10:02:43 +08:00
Daniel Liu
54f8e028ca
log: fix some functions comments ( #29907 )
...
updates some docstrings
---------
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-11-15 10:02:43 +08:00
Daniel Liu
9e034475c8
log: default JSON log handler should log all verbosity levels ( #29471 )
...
Co-authored-by: lightclient <lightclient@protonmail.com>
2024-11-15 10:02:42 +08:00
Daniel Liu
368b2781ae
log: using maps.Clone ( #29392 )
2024-11-15 10:02:42 +08:00
Daniel Liu
6831a49fea
log: replace the outdated link ( #29412 )
2024-11-15 10:02:42 +08:00
Daniel Liu
946c085f9f
log: use native log/slog instead of golang/exp ( #29302 )
2024-11-15 10:02:42 +08:00
Daniel Liu
40fd68a124
log: replace tmp with bytes.Buffer.AvailableBuffer ( #29287 )
2024-11-15 10:02:42 +08:00
Daniel Liu
20a62e4743
log: add Handler getter to Logger interface ( #28793 )
...
log: Add Handler getter to Logger interface
2024-11-15 10:02:42 +08:00
Daniel Liu
fb25ddfa57
log: fix docstring names ( #28923 )
2024-11-15 10:02:42 +08:00
Daniel Liu
966a03f297
log: emit error level string as "error", not "eror" ( #28774 )
2024-11-15 10:02:42 +08:00
Daniel Liu
31ceca5ef1
log: avoid setting default slog logger in init ( #28747 )
...
slog.SetDefault has undesirable side effects. It also sets the default logger destination,
for example. So we should not call it by default in init.
2024-11-15 10:02:42 +08:00
Daniel Liu
14acdf2dd1
log: remove lazy, remove unused interfaces, unexport methods ( #28622 )
...
This change
- Removes interface `log.Format`,
- Removes method `log.FormatFunc`,
- unexports `TerminalHandler.TerminalFormat` formatting methods (renamed to `TerminalHandler.format`)
- removes the notion of `log.Lazy` values
The lazy handler was useful in the old log package, since it
could defer the evaluation of costly attributes until later in the
log pipeline: thus, if the logging was done at 'Trace', we could
skip evaluation if logging only was set to 'Info'.
With the move to slog, this way of deferring evaluation is no longer
needed, since slog introduced 'Enabled': the caller can thus do
the evaluate-or-not decision at the callsite, which is much more
straight-forward than dealing with lazy reflect-based evaluation.
Also, lazy evaluation would not work with 'native' slog, as in, these
two statements would be evaluated differently:
```golang
log.Info("foo", "my lazy", lazyObj)
slog.Info("foo", "my lazy", lazyObj)
```
2024-11-15 10:02:42 +08:00