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

Update rc v1.4.0 feat/multisigner 2022.11.08 #4677

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
2c243b6
- made the process debugger to auto revert its log level, if required
iulianpascalau Oct 3, 2022
03d6dff
- fixed process debugger after local system tests
iulianpascalau Oct 5, 2022
21ce11b
- moved the closing only if the revertTimeInSeconds was provided
iulianpascalau Oct 5, 2022
c426046
- fixes after review
iulianpascalau Oct 5, 2022
7ae5f1b
Merge branch 'rc/v1.4.0' into process-debugger-auto-revert-log-level
iulianpascalau Oct 5, 2022
5d4cca0
add metric for trie snapshot in progress
ssd04 Oct 6, 2022
7a693ff
add metric for trie snapshot start time
ssd04 Oct 6, 2022
2ed395d
fix vm integration tests initializer
ssd04 Oct 6, 2022
bce49f8
added back missing disabled resolver
sstanculeanu Oct 7, 2022
ace4b22
change trie snapshot start time metric to last duration
ssd04 Oct 10, 2022
bc5db61
fix reference in accounts db unit tests
ssd04 Oct 11, 2022
8abe749
Merge branch 'rc/v1.4.0' into merge-v1.4.0-trie-snapshot-metrics
ssd04 Oct 11, 2022
7fa6e07
Merge pull request #4576 from ElrondNetwork/merge-v1.4.0-trie-snapsho…
ssd04 Oct 11, 2022
f3646e6
fix after review: last snapshot metric renaming
ssd04 Oct 11, 2022
244cd11
added real storage resolver for validator info
sstanculeanu Oct 13, 2022
5b6b60e
Merge branch 'rc/v1.4.0' into fix_missing_disabled_resolver_on_storag…
sstanculeanu Oct 13, 2022
d3e5db4
reverted changes on currentEpochValidatorInfoPool
sstanculeanu Oct 13, 2022
9ca0733
Merge branch 'rc/v1.4.0' into process-debugger-auto-revert-log-level
iulianpascalau Oct 13, 2022
eea8c41
Update common/constants.go
ssd04 Oct 14, 2022
ec31579
fixes after review: comment updates, use require.notpanics
ssd04 Oct 14, 2022
0c82299
created bootstrap heartbeat sender
sstanculeanu Oct 14, 2022
c586946
fixed typo
sstanculeanu Oct 14, 2022
edb636f
* Implemented saving validator info into storage for shard nodes
SebastianMarian Oct 14, 2022
075729c
* Fixed go imports
SebastianMarian Oct 14, 2022
cfd9fcf
fixes after review
sstanculeanu Oct 14, 2022
acc39d8
Merge branch 'rc/v1.4.0' into trie-snapshot-metrics
ssd04 Oct 17, 2022
cb97e21
EN-13311: fix delegation contract's owner delegation logs
bogdan-rosianu Oct 17, 2022
c43441d
fix after review, moved bootstrapHeartbeatSender creation just before…
sstanculeanu Oct 17, 2022
d39e1d3
add depth parameter to tryGet method from trie
BeniaminDrasovean Oct 17, 2022
e95df28
fix tests and messenger stub ID() method
sstanculeanu Oct 17, 2022
a052aea
moved trieSyncStatistics into statusCoreComponents in order to pass i…
sstanculeanu Oct 17, 2022
186abeb
fix timeout on test
sstanculeanu Oct 17, 2022
cd6faba
Merge branch 'move_heartbeat_sender_before_bootstrap' into sync_stati…
sstanculeanu Oct 17, 2022
a0676f3
fixed all tests
sstanculeanu Oct 17, 2022
ca74681
Merge pull request #4592 from ElrondNetwork/move_heartbeat_sender_bef…
sstanculeanu Oct 18, 2022
80c5962
Merge branch 'feat/trie-nodes-synced-on-heartbeat' into sync_statisti…
sstanculeanu Oct 18, 2022
f02c9c2
return trie depth for each Get() call
BeniaminDrasovean Oct 18, 2022
408ce14
added NumTrieNodesReceived on PubKeyHeartbeat to served it through api
sstanculeanu Oct 18, 2022
f29449e
return trie depth from RetrieveValue()
BeniaminDrasovean Oct 18, 2022
51dfe3f
added separate metrics peer accounts
ssd04 Oct 18, 2022
1563ebf
added operation mode cli flag
bogdan-rosianu Oct 18, 2022
5cc9ce9
remove unintended sleep
ssd04 Oct 18, 2022
f2dc063
Merge branch 'rc/v1.4.0' into merge-rc-1.4.0-into-trie-snapshot-metrics
ssd04 Oct 18, 2022
037d83f
conflicts fix after merge
ssd04 Oct 18, 2022
8bc2ee0
Merge pull request #4606 from ElrondNetwork/merge-rc-1.4.0-into-trie-…
ssd04 Oct 18, 2022
769f01d
fixes after review: metric variable renaming
ssd04 Oct 19, 2022
0598ba8
refactor to use a struct for account metrics
ssd04 Oct 19, 2022
81c757e
remove duplicated metrics set in peer accouts db
ssd04 Oct 19, 2022
8092d68
Merge branch 'rc/v1.4.0' into trie-snapshot-metrics
ssd04 Oct 19, 2022
c4c917f
- added a new gas schedule + backward compatibility fix
iulianpascalau Oct 19, 2022
b97e0e8
Merge remote-tracking branch 'origin/rc/v1.4.0' into merge_rc_into_fe…
sstanculeanu Oct 19, 2022
1abd9a2
fixes after merge
sstanculeanu Oct 19, 2022
8cc712e
Merge pull request #4610 from ElrondNetwork/merge_rc_into_feat_trie_n…
sstanculeanu Oct 19, 2022
830682c
Merge remote-tracking branch 'origin/feat/trie-nodes-synced-on-heartb…
sstanculeanu Oct 19, 2022
7b5898a
fix after merge
sstanculeanu Oct 19, 2022
22b22d2
Merge branch 'rc/v1.4.0' into gas-cost-for-MultiESDTNFTTransfer
iulianpascalau Oct 19, 2022
bc9c7b5
fixes after review
sstanculeanu Oct 19, 2022
f184a97
Merge branch 'rc/v1.4.0' into operation-mode-node-cli-flag
bogdan-rosianu Oct 19, 2022
0d867ac
move the reset of the user accounts sync statistics component just af…
sstanculeanu Oct 19, 2022
57d6631
moved NumTrieNodesSynced on HeartbeatV2 message instead of Payload fo…
sstanculeanu Oct 19, 2022
8ea1c3d
GetStorageData returns trie depth
BeniaminDrasovean Oct 19, 2022
d7e1daa
fixes after review
bogdan-rosianu Oct 19, 2022
3bdb2c1
Merge remote-tracking branch 'origin/rc/v1.4.0' into retrieve-value-w…
BeniaminDrasovean Oct 19, 2022
5809d92
fixes after second review
bogdan-rosianu Oct 19, 2022
8c03bf1
Merge branch 'rc/v1.4.0' into gas-cost-for-MultiESDTNFTTransfer
iulianpascalau Oct 19, 2022
6ee6780
update go mod
BeniaminDrasovean Oct 19, 2022
4abeebb
Merge branch 'rc/v1.4.0' into retrieve-value-with-trie-depth
BeniaminDrasovean Oct 19, 2022
fb4c39c
Merge pull request #4599 from ElrondNetwork/sync_statistics_on_status…
sstanculeanu Oct 20, 2022
8db6229
- compressed configs
iulianpascalau Oct 20, 2022
91836d6
renamed *Received* to *Processed* into sizeSyncStatistics interface
sstanculeanu Oct 20, 2022
33819ee
Merge pull request #4614 from ElrondNetwork/numreceived_to_numprocessed
sstanculeanu Oct 20, 2022
d7c5152
added logs for change owner
miiu96 Oct 20, 2022
a72afdf
Merge branch 'master' into EN-13311-fix-delegation-contract-owner-del…
miiu96 Oct 20, 2022
0cf9cfb
fix init
miiu96 Oct 20, 2022
65fe004
FIX: seed node could not connect to peers
mariusmihaic Oct 20, 2022
ee4e692
fixes
miiu96 Oct 20, 2022
8a6a2ef
FIX: variables.sh
mariusmihaic Oct 20, 2022
f706aac
fix empty trie check when collecting stats
BeniaminDrasovean Oct 20, 2022
68e8eb7
fix after review
BeniaminDrasovean Oct 20, 2022
dffc3be
fix after review
BeniaminDrasovean Oct 20, 2022
7764fc4
fix after review
BeniaminDrasovean Oct 21, 2022
b1f688d
Merge branch 'rc/v1.4.0' into EN-13311-fix-delegation-contract-owner-…
miiu96 Oct 21, 2022
3f60e8f
- backwards compatibility fixes + added new log prints in the genesis…
iulianpascalau Oct 21, 2022
0e36bad
Merge branch 'rc/v1.4.0' into trie-snapshot-metrics
gabi-vuls Oct 21, 2022
1c7e3f6
Merge pull request #4618 from ElrondNetwork/fix-empty-trie-rootHash
ssd04 Oct 21, 2022
282fa50
Merge branch 'rc/v1.4.0' into trie-snapshot-metrics
ssd04 Oct 21, 2022
c94893a
- integrate new elrond-go-core v1.1.21
iulianpascalau Oct 21, 2022
f7e8641
Merge branch 'rc/v1.4.0' into integrate-new-core-2022.10.21
sstanculeanu Oct 21, 2022
05c0cba
EN-13328: overridable config fields
bogdan-rosianu Oct 21, 2022
1b70950
fix scripts
miiu96 Oct 21, 2022
b841fb6
add disabled app status handler in update import
ssd04 Oct 21, 2022
d25ea52
revert
miiu96 Oct 21, 2022
7685ca4
Merge branch 'rc/v1.4.0' into fix-seednode
miiu96 Oct 21, 2022
81d6e61
Merge branch 'rc/v1.4.0' into retrieve-value-with-trie-depth
BeniaminDrasovean Oct 21, 2022
f20f9fc
Merge pull request #4561 from ElrondNetwork/trie-snapshot-metrics
ssd04 Oct 21, 2022
2d3c821
change contributing and pr template
bogdan-rosianu Oct 21, 2022
58b9e55
fixes and extra check
miiu96 Oct 21, 2022
d397ba0
Merge branch 'rc/v1.4.0' into retrieve-value-with-trie-depth
gabi-vuls Oct 21, 2022
79761f8
Merge branch 'rc/v1.4.0' into integrate-new-core-2022.10.21
iulianpascalau Oct 21, 2022
557b57c
fixes after review
bogdan-rosianu Oct 21, 2022
546a500
Merge branch 'rc/v1.4.0' into fix-seednode
miiu96 Oct 21, 2022
255707d
small fix
bogdan-rosianu Oct 21, 2022
5575745
- made the heartbeat v2 monitor struct better filter-out inactive mes…
iulianpascalau Oct 21, 2022
c40caee
update go mod
BeniaminDrasovean Oct 21, 2022
821d981
Merge pull request #4625 from ElrondNetwork/branches-management-guide…
bogdan-rosianu Oct 21, 2022
d8a0730
- added extra cache checks
iulianpascalau Oct 21, 2022
d4fb9c0
Merge branch 'rc/v1.4.0' into operation-mode-node-cli-flag
bogdan-rosianu Oct 21, 2022
fa871fc
update comment
bogdan-rosianu Oct 21, 2022
d583bf7
refactor
miiu96 Oct 21, 2022
d26748c
Merge remote-tracking branch 'origin/fix-seednode' into fix-seednode
miiu96 Oct 21, 2022
30affc2
small fix
miiu96 Oct 21, 2022
bd0bcc6
Merge remote-tracking branch 'origin/rc/v1.4.0' into merge_rc_into_fe…
sstanculeanu Oct 21, 2022
4fe2d19
- fix after review: code optimization
iulianpascalau Oct 21, 2022
8ff569c
Merge branch 'master' into fix-hb-v2-monitor-after-nodes-restart
iulianpascalau Oct 21, 2022
8ff750f
Merge pull request #4627 from ElrondNetwork/merge_rc_into_feat_trie_n…
sstanculeanu Oct 21, 2022
89c8792
Merge pull request #4621 from ElrondNetwork/integrate-new-core-2022.1…
BeniaminDrasovean Oct 24, 2022
3f3267e
Merge branch 'rc/v1.4.0' into fix-seednode
miiu96 Oct 24, 2022
60eeb73
Merge branch 'rc/v1.4.0' into gas-cost-for-MultiESDTNFTTransfer
iulianpascalau Oct 24, 2022
2846108
Merge pull request #4617 from ElrondNetwork/fix-seednode
miiu96 Oct 24, 2022
b5b7814
update go mod
BeniaminDrasovean Oct 24, 2022
c2f5af8
Merge branch 'rc/v1.4.0' into operation-mode-node-cli-flag
bogdan-rosianu Oct 24, 2022
f5a0440
Merge pull request #4605 from ElrondNetwork/operation-mode-node-cli-flag
bogdan-rosianu Oct 24, 2022
e66bab5
Merge branch 'rc/v1.4.0' into gas-cost-for-MultiESDTNFTTransfer
iulianpascalau Oct 24, 2022
949a212
Merge pull request #4626 from ElrondNetwork/fix-hb-v2-monitor-after-n…
iulianpascalau Oct 24, 2022
8424420
added new persistent metric erd_num_snapshot_nodes
sstanculeanu Oct 24, 2022
a55e36f
- fixed concurrency issues on transaction simulator
iulianpascalau Oct 24, 2022
755cf88
- renamed mutex
iulianpascalau Oct 24, 2022
d234725
Merge branch 'rc/v1.4.0' into fix_missing_disabled_resolver_on_storag…
iulianpascalau Oct 24, 2022
2588585
Merge pull request #4609 from ElrondNetwork/gas-cost-for-MultiESDTNFT…
gabi-vuls Oct 24, 2022
4110afe
Replace wasm-vm with wasm-vm-v1_4 everywhere
camilbancioiu Oct 24, 2022
fe92857
Add go build race flags
camilbancioiu Oct 24, 2022
e665b2d
fixes after testing - set metric only when snapshot is done
sstanculeanu Oct 24, 2022
8fceb00
reverted the fix for cyclic imports - not needed anymore
sstanculeanu Oct 24, 2022
99090d8
removed extra lines
sstanculeanu Oct 24, 2022
f515a0e
added unittest
sstanculeanu Oct 24, 2022
541cf26
Merge branch 'master' into v1.3.44-dev-config
iulianpascalau Oct 25, 2022
4f5e988
fix after review
sstanculeanu Oct 25, 2022
8fa0cd5
fix tests
sstanculeanu Oct 25, 2022
9c8e1d4
Merge pull request #4635 from ElrondNetwork/fixed-concurrency-issue-o…
gabi-vuls Oct 25, 2022
65550da
Merge branch 'master' into v1.3.44-dev-config
iulianpascalau Oct 25, 2022
189d924
Merge branch 'rc/v1.4.0' into process-debugger-auto-revert-log-level
iulianpascalau Oct 25, 2022
f936491
reverted last commit and added check if nil on trieStats
sstanculeanu Oct 25, 2022
312a0da
Merge pull request #4613 from ElrondNetwork/v1.3.44-dev-config
iulianpascalau Oct 25, 2022
e77d27a
Merge branch 'master' into merge-master-2022.10.25
iulianpascalau Oct 25, 2022
b7f2e4e
integrate overridables into prefs.toml
bogdan-rosianu Oct 25, 2022
b4b6b2b
Merge branch 'rc/v1.4.0' into EN-13328-overridable-config-fields
bogdan-rosianu Oct 25, 2022
d28d902
Update legacy VM versions in go.mod
camilbancioiu Oct 25, 2022
d29bfa3
fix custom meta DB remover
bogdan-rosianu Oct 25, 2022
30d6d40
Merge pull request #4634 from ElrondNetwork/new_metric
sstanculeanu Oct 25, 2022
c0157c4
- removed duplicated code
iulianpascalau Oct 25, 2022
a408a95
Merge remote-tracking branch 'origin/rc/v1.4.0' into merge_rc_into_fe…
sstanculeanu Oct 25, 2022
0c3c331
Merge pull request #4644 from ElrondNetwork/merge_rc_into_feat_trie_n…
sstanculeanu Oct 25, 2022
d02105c
Merge branch 'rc/v1.4.0' into EN-13311-fix-delegation-contract-owner-…
miiu96 Oct 26, 2022
4ecc9a3
fixes after review: remove print
bogdan-rosianu Oct 26, 2022
fafe4eb
Merge pull request #4637 from ElrondNetwork/freeze-legacy-wasm-v1_4
gabi-vuls Oct 26, 2022
c6e806b
Merge branch 'rc/v1.4.0' into merge-master-2022.10.25
gabi-vuls Oct 26, 2022
61c2989
Merge remote-tracking branch 'origin/rc/v1.4.0' into retrieve-value-w…
BeniaminDrasovean Oct 26, 2022
3fe87b3
update go mod
BeniaminDrasovean Oct 26, 2022
73ac5c2
Merge branch 'rc/v1.4.0' into process-debugger-auto-revert-log-level
gabi-vuls Oct 26, 2022
6d69bb1
Merge pull request #4639 from ElrondNetwork/merge-master-2022.10.25
gabi-vuls Oct 26, 2022
63b3e01
Merge branch 'rc/v1.4.0' into EN-13328-overridable-config-fields
gabi-vuls Oct 26, 2022
f5952de
Merge branch 'rc/v1.4.0' into retrieve-value-with-trie-depth
BeniaminDrasovean Oct 27, 2022
b992f86
- made the peerAccountsUnit creation different between shard and meta
iulianpascalau Oct 27, 2022
7d63b9e
Merge pull request #4643 from ElrondNetwork/fix-meta-custom-db-remove…
iulianpascalau Oct 27, 2022
e86c13e
Merge branch 'rc/v1.4.0' into fix-meta-custom-db-remover
bogdan-rosianu Oct 27, 2022
a85aca1
fix golangci lint
bogdan-rosianu Oct 27, 2022
c220836
Merge branch 'rc/v1.4.0' into EN-13311-fix-delegation-contract-owner-…
gabi-vuls Oct 27, 2022
06465ca
Merge pull request #4612 from ElrondNetwork/retrieve-value-with-trie-…
BeniaminDrasovean Oct 27, 2022
b18b52c
Merge branch 'rc/v1.4.0' into fix-meta-custom-db-remover
gabi-vuls Oct 27, 2022
e5ce17c
Merge branch 'rc/v1.4.0' into EN-13311-fix-delegation-contract-owner-…
miiu96 Oct 27, 2022
92f487e
handle set sender address for genesis minting transactions
ssd04 Oct 27, 2022
415d3fd
use bytes.Equal instead of compare
ssd04 Oct 27, 2022
138895d
Merge branch 'rc/v1.4.0' into fix-genesis-mint-miniblocks
ssd04 Oct 27, 2022
5d8011e
Merge remote-tracking branch 'origin/rc/v1.4.0' into merge_rc_into_fe…
sstanculeanu Oct 27, 2022
3dffa55
Merge pull request #4597 from ElrondNetwork/EN-13311-fix-delegation-c…
miiu96 Oct 27, 2022
be90f32
Merge pull request #4649 from ElrondNetwork/merge_rc_into_feat_trie_n…
sstanculeanu Oct 27, 2022
56a66fa
Merge remote-tracking branch 'origin/rc/v1.4.0' into merge_rc_into_fe…
sstanculeanu Oct 27, 2022
d89042c
Merge pull request #4650 from ElrondNetwork/merge_rc_into_feat_nodes_…
sstanculeanu Oct 27, 2022
b75b7ca
Merge branch 'rc/v1.4.0' into EN-13328-overridable-config-fields
bogdan-rosianu Oct 27, 2022
0b4730f
Merge branch 'rc/v1.4.0' into fix-meta-custom-db-remover
gabi-vuls Oct 27, 2022
b01c0d6
Merge pull request #4600 from ElrondNetwork/feat/trie-nodes-synced-on…
sstanculeanu Oct 27, 2022
2caa854
Merge branch 'rc/v1.4.0' into fix-meta-custom-db-remover
gabi-vuls Oct 28, 2022
33d9fa0
Merge branch 'rc/v1.4.0' into fix-genesis-mint-miniblocks
gabi-vuls Oct 28, 2022
29ac34d
linter + grammar fixes
bogdan-rosianu Oct 28, 2022
117d693
revert code
bogdan-rosianu Oct 28, 2022
aa7b670
Merge branch 'rc/v1.4.0' into EN-13328-overridable-config-fields
bogdan-rosianu Oct 28, 2022
e406bee
moved app status handler to status core components
sstanculeanu Oct 28, 2022
8669273
Merge remote-tracking branch 'origin/rc/v1.4.0' into move_app_status_…
sstanculeanu Oct 28, 2022
aa48976
fixes after merge
sstanculeanu Oct 28, 2022
77ff965
fixes after review
bogdan-rosianu Oct 28, 2022
ec79f28
Merge pull request #4624 from ElrondNetwork/EN-13328-overridable-conf…
bogdan-rosianu Oct 28, 2022
1a04569
fix after review
sstanculeanu Oct 28, 2022
b65301d
Merge branch 'rc/v1.4.0' into move_app_status_handler
sstanculeanu Oct 28, 2022
f013c11
Merge branch 'rc/v1.4.0' into process-debugger-auto-revert-log-level
iulianpascalau Oct 31, 2022
cca27d3
Merge pull request #4555 from ElrondNetwork/process-debugger-auto-rev…
iulianpascalau Oct 31, 2022
d825745
Merge branch 'rc/v1.4.0' into fix-meta-custom-db-remover
iulianpascalau Oct 31, 2022
41880eb
Merge branch 'rc/v1.4.0' into move_app_status_handler
sstanculeanu Oct 31, 2022
ea3c20b
fixes after review
bogdan-rosianu Oct 31, 2022
38d128c
fix after review
sstanculeanu Oct 31, 2022
5319d8c
Merge branch 'rc/v1.4.0' into fix-genesis-mint-miniblocks
ssd04 Oct 31, 2022
d6de2c2
fix tests
bogdan-rosianu Oct 31, 2022
c70451b
Merge branch 'rc/v1.4.0' into linter-and-grammar-fixes
bogdan-rosianu Oct 31, 2022
281fb0d
Merge pull request #4648 from ElrondNetwork/fix-genesis-mint-miniblocks
ssd04 Oct 31, 2022
f8e0608
Merge branch 'rc/v1.4.0' into fix-meta-custom-db-remover
iulianpascalau Oct 31, 2022
b2a8879
Merge branch 'rc/v1.4.0' into fix_missing_disabled_resolver_on_storag…
iulianpascalau Oct 31, 2022
544721d
Merge branch 'rc/v1.4.0' into linter-and-grammar-fixes
bogdan-rosianu Oct 31, 2022
25a1cb0
Merge pull request #4642 from ElrondNetwork/fix-meta-custom-db-remover
bogdan-rosianu Oct 31, 2022
976f77f
Merge branch 'rc/v1.4.0' into linter-and-grammar-fixes
bogdan-rosianu Oct 31, 2022
309bc91
Merge branch 'rc/v1.4.0' into fix_missing_disabled_resolver_on_storag…
iulianpascalau Oct 31, 2022
492931a
Merge pull request #4654 from ElrondNetwork/linter-and-grammar-fixes
bogdan-rosianu Oct 31, 2022
9261767
Merge branch 'rc/v1.4.0' into fix_missing_disabled_resolver_on_storag…
iulianpascalau Oct 31, 2022
5e4a01e
fix contributing URL
bogdan-rosianu Nov 1, 2022
af124eb
Merge remote-tracking branch 'origin/rc/v1.4.0' into move_app_status_…
sstanculeanu Nov 1, 2022
7640ab6
fixed tests and export handler factory
sstanculeanu Nov 1, 2022
5fea838
Merge pull request #4655 from ElrondNetwork/move_app_status_handler
sstanculeanu Nov 2, 2022
647bda7
Merge pull request #4664 from ElrondNetwork/fix-contributing-url
iulianpascalau Nov 7, 2022
857082c
Merge branch 'master' into merge-master-rc-v1-4-0-nov7
bogdan-rosianu Nov 7, 2022
830ebfb
Merge pull request #4671 from ElrondNetwork/merge-master-rc-v1-4-0-nov7
iulianpascalau Nov 7, 2022
975e4fd
Merge branch 'rc/v1.4.0' into fix_missing_disabled_resolver_on_storag…
iulianpascalau Nov 7, 2022
85a3c10
Merge pull request #4566 from ElrondNetwork/fix_missing_disabled_reso…
iulianpascalau Nov 7, 2022
928ebec
Merge branch 'rc/v1.4.0' into update-rc-v1.4.0-feat/multisigner-2022.…
iulianpascalau Nov 8, 2022
e045c2a
- fixes after merge
iulianpascalau Nov 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 30 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@

# Contributing to elrond-go

If you are unfamiliar with the workflow of contributing to github, you can refer to this [this article](https://github.com/firstcontributions/first-contributions/blob/master/README.md)
If you are unfamiliar with the workflow of contributing to GitHub, you can refer to [this article](https://github.com/firstcontributions/first-contributions/blob/master/README.md)

## Fork & clone this repository
## External contributions

The development should happen in a personal fork, cloned on the local machine.
If you are not part of the team and want to contribute to this repository, you must fork & clone this repository

## Use development branch
The development should happen in a personal fork, cloned on the local machine. **Make sure you use signed commits before opening** a pull request.

External contributions should happen against the `development` branch.
For external contributors, the PRs should be targeted towards the `master` branch. A team responsible will instruct
the PR owner to re-target it against another branch, in accordance to internal branches management.

Other branches may be used by the team members in accordance to internal decisions.
**tl;dr**:
- fork `elrond-go` and use `master` branch.
- use signed commits. [docs](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits).
- open a PR against the `master` branch of `ElrondNetwork/elrond-go`.

## Use linter

Expand Down Expand Up @@ -44,3 +48,23 @@ Although the nominal use case looks good, the linter runs without issues, as wel
Depending on the PR type, there are multiple ways of manual testing the new code:
- if it only affects an API, a log, or something not critical, one could sync a node with new code on Testnet or Devnet and see if everything works good.
- if the changes would affect the entire network (consensus, processing, and so on), a local testnet should be started. Also, make sure backwards compatibility is maintained.

## Branches management

Internal Branches/Releases Management (to be checked by both the code owner and the reviewers)

### `elrond-go`
If the PR is:
1. a hotfix: it will be targeted towards `master` branch.
2. a feature:
2.1. a small feature (a single PR is needed): targeted towards an `rc` branch.
2.2. a big feature (more than one PR is needed): create a feature branch (`feat/...`) that is targeted towards an `rc` branch.

### Satellite projects (`elrond-vm-common`, `elrond-go-core`, and so on)
If the PR is:
1. a hotfix: it will be targeted towards `master`/`main` branch.
2. a feature:
2.1. a small feature (a single PR is needed): targeted towards an `rc` branch and create a new tag&release after merging, and reference it in `elrond-go` (if needed).
2.2. a big feature:
2.2.1. a small satellite PR: targeted towards an `rc` branch. For each change, reference just the commit hash on `elrond-go` and create a tag&pre-release when the `elrond-go` PR is to be merged.
2.2.2. a big satellite PR: create a feature branch (`feat/...`) targeted towards an `rc` branch. For each change, reference just the commit hash on `elrond-go` and create a tag&pre-release when the `feat` branch is merged
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@
-
-
-

## Pre-requisites

Based on the [Contributing Guidelines](https://github.com/ElrondNetwork/elrond-go/blob/master/.github/CONTRIBUTING.md#branches-management) the PR author and the reviewers must check the following requirements are met:
- was the PR targeted to the correct branch?
- if this is a larger feature that probably needs more than one PR, is there a `feat` branch created?
- if this is a `feat` branch merging, do all satellite projects have a proper tag inside `go.mod`?
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ docker run -d -v /absolute/path/to/config/:/data/ elrondnetwork/elrond-go-node:l
## Contribution
Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes to Elrond!

If you'd like to contribute to Elrond, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core developers first here on github, to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.
If you'd like to contribute to Elrond, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base. If you wish to submit more complex changes though, please check up with the core developers first here on GitHub, to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.

Please make sure your contributions adhere to our coding guidelines:

Expand Down
2 changes: 1 addition & 1 deletion api/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var ErrGetESDTNFTData = errors.New("get esdt nft data for account error")
// ErrEmptyAddress signals that an empty address was provided
var ErrEmptyAddress = errors.New("address is empty")

// ErrEmptyKey signals an that empty key was provided
// ErrEmptyKey signals that an empty key was provided
var ErrEmptyKey = errors.New("key is empty")

// ErrEmptyTokenIdentifier signals that an empty token identifier was provided
Expand Down
4 changes: 2 additions & 2 deletions api/gin/httpServer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ func NewHttpServer(server *http.Server) (*httpServer, error) {
}, nil
}

// Start will handle the starting of the gin web server. This call is blocking and it should be
// called on a go routine (different than the main one)
// Start will handle the starting of the gin web server. This call is blocking, and it should be
// called on a go routine (different from the main one)
func (h *httpServer) Start() {
err := h.server.ListenAndServe()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion api/groups/addressGroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ func TestGetESDTNFTData_ShouldWork(t *testing.T) {
GetESDTDataCalled: func(_ string, _ string, _ uint64, _ api.AccountQueryOptions) (*esdt.ESDigitalToken, api.BlockInfo, error) {
return &esdt.ESDigitalToken{
Value: big.NewInt(100),
Properties: []byte(testProperties),
Properties: testProperties,
TokenMetaData: &esdt.MetaData{Nonce: testNonce, Creator: []byte(testAddress)}}, api.BlockInfo{}, nil
},
}
Expand Down
2 changes: 1 addition & 1 deletion api/groups/baseGroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func extractSpecificMiddlewares(middlewares []shared.AdditionalMiddleware) ([]gi
func getEndpointProperties(ws *gin.RouterGroup, path string, apiConfig config.ApiRoutesConfig) endpointProperties {
basePath := ws.BasePath()

// ws.BasePath will return paths like /group or /v1.0/group so we need the last token after splitting by /
// ws.BasePath will return paths like /group or /v1.0/group, so we need the last token after splitting by /
splitPath := strings.Split(basePath, "/")
basePath = splitPath[len(splitPath)-1]

Expand Down
2 changes: 1 addition & 1 deletion api/groups/transactionGroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ type TxResponse struct {
Timestamp uint64 `json:"timestamp"`
}

// simulateTransaction will receive a transaction from the client and will simulate it's execution and return the results
// simulateTransaction will receive a transaction from the client and will simulate its execution and return the results
func (tg *transactionGroup) simulateTransaction(c *gin.Context) {
var gtx = SendTxRequest{}
err := c.ShouldBindJSON(&gtx)
Expand Down
2 changes: 1 addition & 1 deletion api/middleware/responseLogger.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func NewResponseLoggerMiddleware(thresholdDurationForLoggingRequest time.Duratio
return rlm
}

// MiddlewareHandlerFunc logs detail about a request if it is not successful or it's duration is higher than a threshold
// MiddlewareHandlerFunc logs detail about a request if it is not successful, or it's duration is higher than a threshold
func (rlm *responseLoggerMiddleware) MiddlewareHandlerFunc() gin.HandlerFunc {
return func(c *gin.Context) {
t := time.Now()
Expand Down
2 changes: 1 addition & 1 deletion api/shared/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type UpgradeableHttpServerHandler interface {
IsInterfaceNil() bool
}

// GroupHandler defines the actions needed to be performed by an gin API group
// GroupHandler defines the actions needed to be performed by a gin API group
type GroupHandler interface {
UpdateFacade(newFacade interface{}) error
RegisterRoutes(
Expand Down
2 changes: 1 addition & 1 deletion cmd/assessment/benchmarks/arwenBenchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"
"time"

arwenConfig "github.com/ElrondNetwork/wasm-vm/config"
"github.com/ElrondNetwork/elrond-go-core/core"
"github.com/ElrondNetwork/elrond-go/integrationTests/vm/arwen/arwenvm"
"github.com/ElrondNetwork/elrond-go/vm/systemSmartContracts/defaults"
arwenConfig "github.com/ElrondNetwork/wasm-vm-v1_4/config"
)

// ArgArwenBenchmark is the Arwen type benchmark argument used in constructor
Expand Down
2 changes: 1 addition & 1 deletion cmd/logviewer/testing/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ VERSION:
)

// This application starts a test web socket server, initialize it, opens "/log" route and waits for
// clients to connect. After the connection is done, it waits for the pattern message and then it sends continuously
// clients to connect. After the connection is done, it waits for the pattern message, and then it sends continuously
// log lines-type of messages
func main() {
initCliFlags()
Expand Down
2 changes: 2 additions & 0 deletions cmd/node/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,8 @@
DebuggingLogLevel = "*:DEBUG,p2p:TRACE,debug:DEBUG,process:TRACE,intercept:TRACE"
GoRoutinesDump = true
PollingTimeInSeconds = 240 # 4 minutes
# setting this to 0 disables the automatic revert of the log level
RevertLogLevelTimeInSeconds = 600 # 10 minutes

[Health]
IntervalVerifyMemoryInSeconds = 30
Expand Down
7 changes: 4 additions & 3 deletions cmd/node/config/enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@
# BackwardCompSaveKeyValueEnableEpoch represents the epoch when the backward compatibility for save key value error is enabled
BackwardCompSaveKeyValueEnableEpoch = 1

# ESDTNFTCreateOnMultiShard represents the epoch when esdt nft creation is enabled on multiple shards
ESDTNFTCreateOnMultiShard = 1
# ESDTNFTCreateOnMultiShardEnableEpoch represents the epoch when esdt nft creation is enabled on multiple shards
ESDTNFTCreateOnMultiShardEnableEpoch = 1

# MetaESDTSetEnableEpoch represents the epoch when the backward compatibility for save key value error is enabled
MetaESDTSetEnableEpoch = 1
Expand Down Expand Up @@ -219,7 +219,7 @@
FixAsyncCallBackArgsListEnableEpoch = 1

# FixOldTokenLiquidityEnableEpoch represents the epoch when the fix for old token liquidity is enabled
FixOldTokenLiquidityEnableEpoch = 2
FixOldTokenLiquidityEnableEpoch = 1

# SetSenderInEeiOutputTransferEnableEpoch represents the epoch when setting the sender in eei output transfers will be enabled
SetSenderInEeiOutputTransferEnableEpoch = 4
Expand All @@ -244,4 +244,5 @@
GasScheduleByEpochs = [
{ StartEpoch = 0, FileName = "gasScheduleV1.toml" },
{ StartEpoch = 1, FileName = "gasScheduleV6.toml" },
{ StartEpoch = 5, FileName = "gasScheduleV7.toml" },
]
Loading