Ruohui Wang
3f712e7447
core/rawdb: fix typo in comment ( #25191 )
2022-06-29 11:47:33 +02:00
Guillaume Ballet
d1890aa402
fix: linter warning ( #25192 )
2022-06-29 10:54:57 +02:00
Pratik Patil
657d262def
Merge pull request #435 from maticnetwork/POS-553
...
Adding correct miner address on API at the RPC level (POS-553)
2022-06-29 11:02:08 +05:30
Pratik Patil
473e09cd2d
removed check from consensus, handelling everything in api.go
2022-06-28 21:03:36 +05:30
zeim839
9a5c1000c7
cmd/geth, p2p: add support for custom discovery UDP port ( #24979 )
...
This adds a new flag to set the discovery port to be different from
the TCP listener port.
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-28 17:25:47 +02:00
Pratik Patil
de03f3fb6a
reverted back and made changes in the getAuthour API
2022-06-28 19:02:47 +05:30
Pratik Patil
c0ad424824
addressed comments, Author() never returns error, returns 0x0 insted
2022-06-28 18:34:29 +05:30
Marius van der Wijden
1438e7c324
params: set TTD for sepolia testnet ( #25179 )
2022-06-28 14:48:13 +02:00
Arpit Temani
a73b0f70bf
change version
2022-06-28 00:46:51 +05:30
willian.eth
52ed3570c4
cmd: migrate to urfave/cli/v2 ( #24751 )
...
This change updates our urfave/cli dependency to the v2 branch of the library.
There are some Go API changes in cli v2:
- Flag values can now be accessed using the methods ctx.Bool,
ctx.Int, ctx.String, ... regardless of whether the flag is 'local' or
'global'.
- v2 has built-in support for flag categories. Our home-grown category
system is removed and the categories of flags are assigned as part of
the flag definition.
For users, there is only one observable difference with cli v2: flags must now
strictly appear before regular arguments. For example, the following command is
now invalid:
geth account import mykey.json --password file.txt
Instead, the command must be invoked as follows:
geth account import --password file.txt mykey.json
2022-06-27 18:22:36 +02:00
lightclient@protonmail.com
0c6f81f888
all: remove version field from rpc.API
2022-06-27 12:39:46 +02:00
lightclient
119f955686
all: remove public field from rpc.API ( #25059 )
...
all: remove public field from rpc.API
2022-06-27 13:33:13 +03:00
lightclient
c7f485d9e5
internal/ethapi: add note about eth_chainId compatibility with EIP-695 ( #25168 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-25 21:34:21 +02:00
Pratik Patil
0173d61d9f
modified Authour() function in bor.go
2022-06-25 10:20:29 +05:30
lightclient
647c6f2db6
internal/ethapi: always return chain id ( #25166 )
...
The error was introduced in PR #21686 , but there is no good reason to enforce sync
in this method, and it causes issues with EL/CL integration.
2022-06-24 18:03:13 +02:00
Pratik Patil
9b29d13a5d
removed lint error
2022-06-24 19:31:44 +05:30
int88
e620fa3980
eth: fix typo ( #25161 )
2022-06-24 15:28:01 +03:00
Pratik Patil
1b941f3274
getAuthor returns 0x0 for genesis block
2022-06-24 13:29:02 +05:30
Pratik Patil
1970743f9d
modified comment
2022-06-24 13:28:22 +05:30
Sina Mahmoodi
6135c688b8
eth/tracers: optimize goja buffer conversion ( #25156 )
...
This changes the []byte <-> Uint8Array conversion to use an
ArrayBuffer, avoiding inefficient copying of the slice data in Goja.
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-23 18:11:47 +02:00
ucwong
0f044f3433
go.mod: upgrade to latest goleveldb ( #25067 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-23 10:35:27 +02:00
aaronbuchwald
68420e1aa5
core: fix typo in txpool ( #25149 )
...
Fix typo in txPool truncateQueue comment
2022-06-22 22:51:45 +02:00
Jerry
88dbfa1c13
Merge pull request #433 from cffls/develop
...
Merge branch 'v0.3.0-dev' into develop
2022-06-22 12:03:40 -07:00
rjl493456442
7c7cd410d1
eth, miner: retrieve mining state from live database ( #25139 )
...
* miner: retrieve mining state from live database
* eth/catalyst: ignore stale fcu events from cl
2022-06-22 14:59:55 +03:00
Jerry
1daa659aa5
Merge remote-tracking branch 'upstream/develop' into develop
2022-06-22 00:08:02 -07:00
Pratik Patil
fea935fff2
Merge branch 'develop' of https://github.com/maticnetwork/bor into POS-553
2022-06-22 12:30:58 +05:30
Pratik Patil
aec6d05255
minor fix
2022-06-22 12:13:43 +05:30
Marcello Ardizzone
44105e1136
new: dev: pos-398 remove unused part
2022-06-21 16:15:49 +02:00
Marcello Ardizzone
ea0f553d24
new: dev: pos-398 instructions for retesteth bor
2022-06-21 16:14:27 +02:00
Krishna Upadhyaya
3bb14803e2
Merge pull request #437 from maticnetwork/krishna/reproducible-build-test
...
Added reproducible build test to CI
2022-06-21 18:26:05 +05:30
Krishna Upadhyaya
fbaeaa2247
Added reproducible build test to CI
2022-06-21 16:42:56 +05:30
Marcello Ardizzone
9e7f70822f
new: dev: pos-398 install testdata as submodule
2022-06-21 12:46:18 +02:00
Zachinquarantine
f49e298330
README,rpc: remove mention of "shh" RPC API ( #25137 )
2022-06-21 11:59:02 +02:00
Sina Mahmoodi
f20a569265
cmd/geth: drop geth js command ( #25000 )
...
* cmd/geth: drop js command
* cmd: simplify ipc path determination for attach
* Add deprecation warning for js
* rm testdata for exec
* fix account unlock test cases
* Update cmd/geth/consolecmd.go
Co-authored-by: Martin Holst Swende <martin@swende.se>
* fix
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-06-21 12:16:05 +03:00
lightclient
10dc5dce08
all: remove concept of public/private API definitions ( #25053 )
...
* internal/ethapi: rename PublicEthereumAPI to EthereumAPI
* eth: rename PublicEthereumAPI to EthereumAPI
* internal/ethapi: rename PublicTxPoolAPI to TxPoolAPI
* internal/ethapi: rename PublicAccountAPI to EthereumAccountAPI
* internal/ethapi: rename PrivateAccountAPI to PersonalAccountAPI
* internal/ethapi: rename PublicBlockChainAPI to BlockChainAPI
* internal/ethapi: rename PublicTransactionPoolAPI to TransactionAPI
* internal/ethapi: rename PublicDebugAPI to DebugAPI
* internal/ethapi: move PrivateDebugAPI methods to DebugAPI
* internal/ethapi: rename PublicNetAPI to NetAPI
* les: rename PrivateLightServerAPI to LightServerAPI
* les: rename PrivateLightAPI to LightAPI
* les: rename PrivateDebugAPI to DebugAPI
* les: rename PublicDownloaderAPI to DownloaderAPI
* eth,les: rename PublicFilterAPI to FilterAPI
* eth: rename PublicMinerAPI to MinerAPI
* eth: rename PublicDownloaderAPI to DownloaderAPI
* eth: move PrivateMinerAPI methods to MinerAPI
* eth: rename PrivateAdminAPI to AdminAPI
* eth: rename PublicDebugAPI to DebugAPI
* eth: move PrivateDebugAPI methods to DebugAPI
* node: rename publicAdminAPI to adminAPI
* node: move privateAdminAPI methods to adminAPI
* node: rename publicWeb3API to web3API
* eth,internal/ethapi: sync comments with previous renamings
2022-06-21 12:05:43 +03:00
aaronbuchwald
241dd27300
trie: fix size accounting in cleaner ( #25007 )
...
Decrease children size instead of dirties size when marking dirties as cleaned up in trie cleaner
2022-06-21 12:00:37 +03:00
Pratik Patil
b3c02842b9
modified GetBlockByNumber and GetBlockByHash function to call getHeaderWithAuthor function
2022-06-21 11:34:00 +05:30
Pratik Patil
b9d1869d95
added getHeaderWithAuthor function to change the coinbase filed in header with actual miner address
2022-06-21 11:32:19 +05:30
Jerry
9592534a69
Integration tests
2022-06-20 11:25:39 -07:00
Zachinquarantine
ad15050c7f
cmd/faucet: add sepolia network support ( #25128 )
...
cmd/faucet: Add Sepolia network support to faucet
2022-06-20 10:40:06 +02:00
Sina Mahmoodi
d39f0cce71
internal/ethapi: remove SignAndSendTransaction ( #25111 )
2022-06-20 10:38:46 +02:00
Zachinquarantine
c776029c6c
cmd/faucet: more verbose message about private posts ( #25129 )
...
* cmd/faucet: Add error message for private posts
Fixes #22631
* grammar
2022-06-20 10:20:32 +02:00
Martin Holst Swende
21129ec838
node: make jwt tests less time-dependent ( #25120 )
2022-06-20 10:10:25 +02:00
Martin Holst Swende
01e5e9c2c3
tests/fuzzers/rlp: avoid very large input ( #25109 )
...
The oss-fuzz engine crashes due to stack overflow decoding a large nested
structure into a interface{}. This PR limits the size of the input data, so
should avoid such crashes.
2022-06-17 00:44:30 +02:00
Jerry
9ec673870a
Set Heimdall client to nil when 'withoutheimdall' is set
2022-06-16 10:28:28 -07:00
Kosuke Taniguchi
ba99e19215
internal/ethapi: add comment explaining return of nil instead of error ( #25097 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-16 17:08:25 +02:00
Jerry
9bc9a45758
Merge branch 'v0.3.0-dev' into develop
2022-06-15 11:58:04 -07:00
Jerry
33e646eea1
Add keystore option to cli
2022-06-15 11:30:47 -07:00
Péter Szilágyi
67454df08b
params: begin v1.10.20 release cycle
2022-06-15 15:56:01 +03:00
Péter Szilágyi
23bee16208
params: release Geth v1.10.19
2022-06-15 15:49:45 +03:00