Commit Graph

13317 Commits

Author SHA1 Message Date
sjb933
daca25030a Merge branch '0.8.1-release' into 'master'
0.8.1 Release

See merge request pulsechaincom/go-pulse!44
2022-03-28 20:22:01 +00:00
Shane Bammel
3749241ef6 Update patch version number 2022-03-28 15:20:03 -05:00
sjb933
30e781c936 Merge branch 'slasher-flix' into 'master'
Fix for "Slash validator failed"

See merge request pulsechaincom/go-pulse!43
2022-03-28 20:19:15 +00:00
TBC Dev
2ea25cf8f5
Fix validators not slashing on filled blocks
Not a consensus change as verifiers expect this fix, yet do not reject blocks that are missing it.
2022-03-27 00:03:44 +08:00
TBC Dev
76cd185e3b Improve safety of mutation of Header reference arg 2022-03-26 23:20:27 +08:00
TBC Dev
51f1f1051e Fix original bad block problem
Ref: 1926e96: Implemented fix for bad block sync bug
Ref: 55ad275: Added SystemZero fork beginning free system txs
Ref: 961ac6c: Apply slashes on first pass though commit
2022-03-26 21:29:03 +08:00
TBC Dev
7120731401 Fix incomplete rename of finalUpdate to firstPass 2022-03-26 21:28:53 +08:00
sjb933
6a28bcae15 Merge branch 'testnet-v2-b' into 'master'
Testnet v2b

See merge request pulsechaincom/go-pulse!42
2022-03-20 01:03:17 +00:00
Shane Bammel
b74caa9479 Update bootnodes for testnet v2-b 2022-03-16 11:53:19 -05:00
Shane Bammel
9009e40023 Add sacrifice credits for testnet v2-b
These credits are **not final** and are subject to change prior
to mainnet launch of PulseChain
2022-03-15 14:57:30 -05:00
Shane Bammel
6c61bcc3f9 Update testnet network id to match new chain id 2022-03-11 14:37:55 -06:00
Shane Bammel
a82a55f9fc Update minor version for new testnet 2022-03-10 15:56:49 -06:00
Shane Bammel
987de7b7a6 Update fork blocks and chain id 2022-03-10 15:49:08 -06:00
Shane Bammel
dc83e2b2e1 Increase testnet treasury 2022-03-10 15:47:16 -06:00
Shane Bammel
d6158c2c74 Update staking contract (13d23463)
Optimizes validator rotation to reduce gas usage with
many registered validators
2022-03-08 11:50:33 -06:00
sjb933
8ba6086021 Merge branch 'gas-estimations' into 'master'
Add padding to gas estimates

See merge request pulsechaincom/go-pulse!41
2022-02-16 20:33:31 +00:00
Shane Bammel
cfaf357c2a Update patch version number for release 2022-02-15 23:06:56 -06:00
Shane Bammel
0960719cfd Fix unit tests to account for estimation padding 2022-02-15 23:06:36 -06:00
Shane Bammel
94fe5c195a Add padding to gas estimates
Seeing significant failures due to underestimation on contract calls.
Adding a 20% pad to the estimation will cover the majority of these.
2022-02-15 16:32:12 -06:00
sjb933
6424b258b0 Merge branch 'merge-upstream-v1.10.15' into 'master'
0.7.0 Release

Closes #38 and #32

See merge request pulsechaincom/go-pulse!39
2022-01-27 22:18:33 +00:00
Shane Bammel
5cdaeb9699 Use sane gas cap for the getValidators system call 2022-01-14 20:29:25 -06:00
Shane Bammel
64bdf24bd0 Post-merge cleanup 2022-01-14 19:24:28 -06:00
Shane Bammel
9b8a328d0b Merge go-ethereum v1.10.15 2022-01-12 23:42:34 -06:00
Shane Bammel
50979d3af9 Updated patch version number for release 2022-01-07 12:28:45 -06:00
sjb933
19a61e1b45 Merge branch 'phantom-slashes' into 'master'
Apply slashes on first pass though commit

Closes #36

See merge request pulsechaincom/go-pulse!37
2022-01-07 17:34:59 +00:00
Shane Bammel
961ac6c085 Apply slashes on first pass though commit
The commit() func will only be called twice if there are transactions
in the block. To ensure slashes aren't missed in an empty block,
apply slashing logic on the first pass through FinalizeAndAssemble().
2022-01-06 18:56:57 -06:00
sjb933
6878d681a4 Merge branch 'bs-trace-errors' into 'master'
Ignore base fee for system transactions

Closes #29

See merge request pulsechaincom/go-pulse!36
2022-01-05 23:55:40 +00:00
Shane Bammel
160ef47ca1 Ignore base fee for system transactions
System transactions have a gas cap of zero which violates the
post-london consensus rules.
2022-01-05 16:59:04 -06:00
Felix Lange
8be800ffa9 params: go-ethereum v1.10.15 stable 2022-01-05 17:16:40 +01:00
Martin Holst Swende
335914a63a
les: fix serverHandler crash after setHead (#24200) 2022-01-05 16:40:45 +01:00
Sina Mahmoodi
3ccd6b6dbb
graphql: fix block resolving for parent field (#24191)
Fixes #24161
2022-01-05 16:22:46 +01:00
Sina Mahmoodi
c20de3c4bd
graphql: fix pre-byzantium receipt status (#24188)
Fixes #24124
2022-01-05 16:21:08 +01:00
Felix Lange
0169d579d0
ethclient: fix unmarshaling of ethereum.SyncProgress (#24199)
SyncProgress was modified in PR #23576 to add the fields reported for
snap sync. The PR also changed ethclient to use the SyncProgress struct
directly instead of wrapping it for hex-decoding. This broke the
SyncProgress method.

Fix it by putting back the custom wrapper. While here, also put back the
fast sync related fields because SyncProgress is stable API and thus
removing fields is not allowed.

Fixes #24180
Fixes #24176
2022-01-05 16:12:47 +01:00
Sina Mahmoodi
c0d17bca52
graphql: check header first in blocks query (#24190)
Fixes #24167

New behaviour is that the endpoint returns results only for available
blocks without returning an error when it doesn't find a block. Note we
skip any block after a non-existent block.

This adds a header fetch for every block in range (even if header
is not needed). Alternatively, we could do the check in every field's
resolver method to avoid this overhead.
2022-01-05 16:11:46 +01:00
Martin Holst Swende
66a908c5e8
core/rawdb: fix double-lock causing hang (#24189)
Fixes #24159

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-01-04 19:02:37 +01:00
peter cresswell
d0bd5017ed
accounts: correct comment (#24186)
Change two instances of the word `calulcated` to `calculated`.
2022-01-04 17:24:28 +02:00
Water
98be5f9a72
trie: fix spelling mistake (#24185)
mispelled words in comments: th enext
2022-01-04 17:23:52 +02:00
zgfzgf
356bbe343a
core/asm: change order of items in stringtokenTypes (#24153)
This orders the items in slice definition same as the enum values.
2021-12-26 14:58:17 +01:00
Felix Lange
dddf73abbd params: begin v1.10.15 release cycle 2021-12-23 11:23:07 +01:00
Felix Lange
11a3a35097 params: release go-ethereum v1.10.14 stable 2021-12-23 11:21:45 +01:00
Alexey Shekhirin
3f2e96cf95
cmd/geth: add missing sepolia testnet flag checks (#24147) 2021-12-22 17:51:57 +01:00
Felix Lange
980b7682b4
core/types: document JSON field name equivalents of DynamicFeeTx (#24143) 2021-12-22 15:32:17 +01:00
Felix Lange
b8edc04ce3
build: upgrade -dlgo version to Go 1.17.5 (#24144) 2021-12-22 15:31:41 +01:00
sjb933
0a9c8cf488 Merge branch 'system-zero' into 'master'
SystemZero fork

See merge request pulsechaincom/go-pulse!35
2021-12-21 00:15:17 +00:00
Shane Bammel
268b4f7f14 Updated minor version number for release 2021-12-20 16:36:41 -06:00
Shane Bammel
e14acb5752 Improved error message 2021-12-20 16:29:45 -06:00
Shane Bammel
55ad275d51 Added SystemZero fork beginning free system txs
System transactions must always run with priority regardless of their
size or other transactions in the block.
2021-12-20 16:28:13 -06:00
fomotrader
99be62a9b1
accounts/abi: avoid unnecessary alloc (#24128) 2021-12-20 10:25:46 +01:00
sjb933
702604813e Merge branch 'badblock-fix' into 'master'
Implemented fix for bad block sync bug

See merge request pulsechaincom/go-pulse!34
2021-12-17 17:23:30 +00:00
Shane Bammel
d7ac6330f6 Updated version for patch release 2021-12-17 11:14:32 -06:00