Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge/foundation release/1.10.20 #489

Merged
merged 64 commits into from
Sep 5, 2022
Merged

Conversation

meowsbits
Copy link
Contributor

No description provided.

karalabe and others added 30 commits June 15, 2022 15:56
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.
* cmd/faucet: Add error message for private posts

Fixes #22631

* grammar
cmd/faucet: Add Sepolia network support to faucet
Decrease children size instead of dirties size when marking dirties as cleaned up in trie cleaner
* 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
* 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 <[email protected]>

* fix

Co-authored-by: Martin Holst Swende <[email protected]>
* miner: retrieve mining state from live database

* eth/catalyst: ignore stale fcu events from cl
Fix typo in txPool truncateQueue comment
This changes the []byte <-> Uint8Array conversion to use an
ArrayBuffer, avoiding inefficient copying of the slice data in Goja.

Co-authored-by: Felix Lange <[email protected]>
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.
all: remove public field from rpc.API
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
This adds a new flag to set the discovery port to be different from
the TCP listener port.

Co-authored-by: Felix Lange <[email protected]>
…lock (#25187)

* consensus/beacon: check that only the latest pow block is valid ttd block

* consensus/beacon: move verification to async function

* consensus/beacon: fix verifyTerminalPoWBlock, add test cases

* consensus/beacon: cosmetic changes

* consensus/beacon: apply karalabe's fixes
meowsbits added 19 commits July 8, 2022 14:44
Date: 2022-07-08 11:07:26-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:07:41-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:07:58-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:08:21-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:09:46-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:11:44-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:27:43-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:30:14-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:32:08-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:32:51-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:33:27-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:35:22-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:38:30-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:39:23-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:40:29-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 11:57:38-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 12:00:10-07:00
Signed-off-by: meows <[email protected]>
rpcAPI

Date: 2022-07-08 14:07:53-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-08 14:09:03-07:00
Signed-off-by: meows <[email protected]>
The value is set below in its own stanza
under a condition for NetworkFlag IsSet

Date: 2022-07-12 13:32:05-07:00
Signed-off-by: meows <[email protected]>
I removed redundant assignments to
cfg.NetworkID. This value is written
via the above stanza's condition around
NetworkID flag, which uses the configurator
method GetNetworkID to pull the value from
the genesis value, which is configured for
all default chain configs.

Date: 2022-07-12 13:49:21-07:00
Signed-off-by: meows <[email protected]>
Regenerate docs because personal_signAndSendTransaction
is removed now.

Date: 2022-07-13 09:50:56-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-07-13 09:52:32-07:00
Signed-off-by: meows <[email protected]>
@meowsbits meowsbits self-assigned this Aug 1, 2022
@ziogaschr
Copy link
Member

I approve this PR as reviewed at #491 and specifically with this comment.

@meowsbits I am not going to resolve the conflicts as probably we will just close this PR and merge the #491.

@meowsbits meowsbits merged commit 9e9fcb8 into master Sep 5, 2022
@meowsbits meowsbits deleted the merge/foundation-release/1.10.20 branch September 5, 2022 16:16
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.