Raneet Debnath
f3573f086d
fix: timer condition
2022-11-18 18:38:03 +05:30
Raneet Debnath
1da5b36da9
new: timer
2022-11-18 16:18:34 +05:30
Raneet Debnath
87c54fa7be
chg: remove repetitive logs
2022-11-18 15:00:46 +05:30
Raneet Debnath
b2a453b115
chg: increase timeout
2022-11-18 14:04:34 +05:30
Martin Holst Swende
c2e0abce2e
ethstats: set readlimit on ethstats server connection ( #26207 )
...
This prevents DoS when connected to a malicious ethstats server.
2022-11-17 15:33:03 +01:00
Martin Holst Swende
97c563e055
rpc, internal/guide: speed up tests a bit ( #26193 )
...
This removes an RPC test which takes > 90s to execute, and updates the
internal/guide tests to use lighter scrypt parameters.
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-17 15:30:53 +01:00
therainisme
722bb210bf
rlp: improve tests for Split functions ( #26200 )
...
This PR improves and extends the tests a bit
2022-11-17 14:19:03 +01:00
Raneet Debnath
dfa051483f
Merge branch 'develop' of https://github.com/maticnetwork/bor into raneet10/pos-535
2022-11-17 18:23:16 +05:30
Raneet Debnath
1b8ef5059f
cleanup
2022-11-17 18:20:53 +05:30
Raneet Debnath
245b327129
sq paranthesis
2022-11-17 17:13:12 +05:30
Raneet Debnath
ee2009e0c5
op
2022-11-17 16:17:35 +05:30
Felix Lange
12df45662a
all: remove remaining uses of untyped golang-lru ( #26194 )
2022-11-17 11:15:28 +01:00
Felix Lange
c3b42683b3
Dockerfile: upgrade to Go 1.19 ( #26195 )
2022-11-17 10:54:28 +01:00
Raneet Debnath
529e81bd92
bool types
2022-11-17 15:01:29 +05:30
Raneet Debnath
c6079a4d4e
chg parenthesis
2022-11-17 13:59:07 +05:30
Sina Mahmoodi
64067fbdc4
eth/tracers: small refactor for native tracers ( #26196 )
...
Use noopTracer as a base for other native tracers to avoid extra boilerplate for unimplemented hooks.
2022-11-17 09:27:48 +01:00
Arpit Temani
55001d8023
Merge pull request #461 from maticnetwork/arpit/pos-655
...
sprint length change
2022-11-17 13:03:06 +05:30
Raneet Debnath
6c77efc955
fix logic
2022-11-17 12:55:00 +05:30
Raneet Debnath
5f0fc27fea
fix
2022-11-17 12:02:00 +05:30
Arpit Temani
f713647762
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into arpit/pos-655
2022-11-17 11:43:35 +05:30
Arpit Temani
366496f68a
revert changes for delhi fork
2022-11-17 11:43:21 +05:30
Raneet Debnath
e004e5f298
init: pos-535 smoke test
2022-11-17 11:11:42 +05:30
storyicon
add337e0f7
rpc: support injecting HTTP headers through context ( #26023 )
...
This adds a way to specify HTTP headers per request.
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-16 15:22:12 +01:00
Mark Tyneway
b4ea2bf7dd
all: implement EIP-1153 transient storage ( #26003 )
...
Implements TSTORE and TLOAD as specified by the following EIP:
https://eips.ethereum.org/EIPS/eip-1153
https://ethereum-magicians.org/t/eip-1153-transient-storage-opcodes/553
Co-authored-by: Sara Reynolds <snreynolds2506@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2022-11-16 10:18:52 +01:00
ligi
bc90a88263
ethclient: docs, fix misleading comment ( #26189 )
...
closes #26188
2022-11-16 08:44:54 +01:00
Arpit Temani
f919886a39
Update sealer_test.go
2022-11-16 09:47:01 +05:30
Arpit Temani
9330780bb1
Update smoke_test.sh
2022-11-16 09:43:48 +05:30
Arpit Temani
d5482469d0
change 5 sec to 2 sec
2022-11-15 22:26:42 +05:30
Arpit Temani
22988ac97b
bugfix
2022-11-15 22:13:57 +05:30
Arpit Temani
2b84185173
change ci params
2022-11-15 22:06:12 +05:30
Arpit Temani
1832134a42
Merge pull request #579 from maticnetwork/shivam/POS-972
...
Shivam/pos 972
2022-11-15 19:42:13 +05:30
Arpit Temani
709bbc8a3e
change mumbai and mainnet blocks
2022-11-15 19:41:41 +05:30
Felix Lange
ae42148093
rpc: fix connection tracking set in Server ( #26180 )
...
rpc: fix connection tracking in Server
When upgrading to mapset/v2 with generics, the set element type used in
rpc.Server had to be changed to *ServerCodec because ServerCodec is not
'comparable'. While the distinction is technically correct, we know all
possible ServerCodec types, and all of them are comparable. So just use
a map instead.
2022-11-15 14:05:16 +01:00
Arpit Temani
5a9a8c5804
change hardfork to span start
2022-11-15 16:44:28 +05:30
Arpit Temani
db1c31316f
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into shivam/POS-972
2022-11-15 16:40:24 +05:30
Arpit Temani
278f7e7239
add checkpoint delay
2022-11-15 16:34:47 +05:30
Arpit Temani
54934761bf
change mumbai block number
2022-11-15 16:28:06 +05:30
Arpit Temani
4a1653f7e3
change sprintlength for
2022-11-15 15:06:49 +05:30
Arpit Temani
4642045a4c
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into shivam/POS-972
2022-11-15 15:00:47 +05:30
Arpit Temani
2543e974ee
change version
2022-11-15 14:44:51 +05:30
Arpit Temani
ab6925d7a8
fix matic cli config
2022-11-15 14:27:27 +05:30
Arpit Temani
769e2bb805
change matic-cli config
2022-11-15 13:38:16 +05:30
Arpit Temani
3896c5b319
ci changes
2022-11-15 13:01:16 +05:30
Shivam Sharma
846abac772
fix : failing TestJaipurFork
2022-11-15 11:30:50 +05:30
Shivam Sharma
2e3924ddea
lint
2022-11-15 10:47:46 +05:30
Arpit Temani
102d293609
fix tests
2022-11-15 00:57:47 +05:30
Felix Lange
9afc6816d2
common/lru: add generic LRU implementation ( #26162 )
...
It seems there is no fully typed library implementation of an LRU cache.
So I wrote one. Method names are the same as github.com/hashicorp/golang-lru,
and the new type can be used as a drop-in replacement.
Two reasons to do this:
- It's much easier to understand what a cache is for when the types are right there.
- Performance: the new implementation is slightly faster and performs zero memory
allocations in Add when the cache is at capacity. Overall, memory usage of the cache
is much reduced because keys are values are no longer wrapped in interface.
2022-11-14 15:41:56 +01:00
Jolly Zhao
f58ebd9696
all: use github.com/deckarep/golang-set/v2 (generic set) ( #26159 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-14 15:16:52 +01:00
Martin Holst Swende
8c5ce1107b
eth/filters: send rpctransactions in pending-subscription ( #26126 )
...
This PR changes the pending tx subscription to return RPCTransaction types instead of normal Transaction objects. This will fix the inconsistencies with other tx returning API methods (i.e. getTransactionByHash), and also fill in the sender value for the tx.
co-authored by @s1na
2022-11-14 14:48:01 +01:00
Shivam Sharma
7d92be2f17
fix : jaipurFork & baseFeeChangeDenom hardfork num to bigInt
2022-11-14 17:52:55 +05:30