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 Spica into master #5896

Merged
merged 738 commits into from
Nov 13, 2024
Merged
Changes from 198 commits
Commits
Show all changes
738 commits
Select commit Hold shift + click to select a range
2ff7e6c
fix log messages
ssd04 Jul 15, 2024
51f530b
update dependencies
BeniaminDrasovean Jul 15, 2024
7d12600
Merge pull request #6317 from multiversx/integrate-refactor-esdt-impr…
BeniaminDrasovean Jul 16, 2024
8a18616
Merge branch 'rc/v1.7.next1' into proper_vm_integration
sstanculeanu Jul 16, 2024
205eb81
Merge branch 'rc/v1.7.next1' into egld-multi-transfer-integration-test
ssd04 Jul 16, 2024
0695fcb
Merge branch 'rc/v1.7.next1' into MX-15556-Bugfix-Account-WithKeys
raduchis Jul 16, 2024
9862508
Merge branch 'egld-multi-transfer-integration-test' of github.com:Elr…
ssd04 Jul 16, 2024
02ddd51
Merge branch 'rc/v1.7.next1' into esdt-improvements-integration-tests-p3
ssd04 Jul 16, 2024
1f0c028
Merge pull request #6314 from multiversx/proper_vm_integration
sstanculeanu Jul 16, 2024
1620b72
Merge branch 'rc/v1.7.next1' into egld-multi-transfer-integration-test
ssd04 Jul 16, 2024
b5fdc84
update test error check
ssd04 Jul 16, 2024
f9f2c8f
Merge branch 'rc/v1.7.next1' into esdt-improvements-integration-tests-p3
miiu96 Jul 16, 2024
93ece5d
Merge branch 'rc/v1.7.next1' into MX-15556-Bugfix-Account-WithKeys
raduchis Jul 16, 2024
0a13356
added more scenarios
ssd04 Jul 16, 2024
6b9f696
Merge pull request #6284 from multiversx/esdt-improvements-integratio…
ssd04 Jul 16, 2024
5ad4afb
Merge branch 'rc/v1.7.next1' into egld-multi-transfer-integration-test
ssd04 Jul 16, 2024
e778090
Merge branch 'rc/v1.7.next1' into MX-15556-Bugfix-Account-WithKeys
miiu96 Jul 17, 2024
00dbb5e
Merge branch 'rc/v1.7.next1' into unjail-cleanup
AdoAdoAdo Jul 17, 2024
382a6b8
extra parameter chain simulator
miiu96 Jul 17, 2024
5c065c7
fixes after review
ssd04 Jul 17, 2024
3f3e5c4
Merge pull request #6247 from multiversx/MX-15556-Bugfix-Account-With…
raduchis Jul 17, 2024
4a5b391
Merge branch 'rc/v1.7.next1' into egld-multi-transfer-integration-test
ssd04 Jul 17, 2024
872a0ee
Optimize DisplayProcessTxDetails. Early exit if log level is not TRACE.
andreibancioiu Jul 17, 2024
7a5b2ac
Merge branch 'rc/v1.7.next1' into chain-simulator-extra-argument-star…
miiu96 Jul 17, 2024
7a25a80
Merge branch 'rc/v1.7.next1' into unjail-cleanup
AdoAdoAdo Jul 17, 2024
930ed33
invalid tx value field scenario
ssd04 Jul 17, 2024
aa19325
Merge pull request #6313 from multiversx/egld-multi-transfer-integrat…
miiu96 Jul 18, 2024
1985b1d
Merge branch 'rc/v1.7.next1' into chain-simulator-extra-argument-star…
miiu96 Jul 18, 2024
c907b0e
Merge pull request #6302 from multiversx/fixes-inner-txs-relayed-v3
miiu96 Jul 18, 2024
e8dee2b
Merge branch 'rc/v1.7.next1' of https://github.com/multiversx/mx-chai…
sstanculeanu Jul 18, 2024
8cecafc
proper deps after merge
sstanculeanu Jul 18, 2024
ad2257c
Merge pull request #6324 from multiversx/merge_rc17next1_into_feat_re…
sstanculeanu Jul 18, 2024
3b72d10
Merge branch 'rc/v1.7.next1' into optimize-display-process-tx-details
miiu96 Jul 18, 2024
06c2254
Merge branch 'rc/v1.7.next1' into unjail-cleanup
AdoAdoAdo Jul 18, 2024
317f2f6
Merge pull request #6161 from multiversx/unjail-cleanup
AdoAdoAdo Jul 18, 2024
8f24b6a
Merge branch 'rc/v1.7.next1' into optimize-display-process-tx-details
miiu96 Jul 18, 2024
0a51235
Merge branch 'rc/v1.7.next1' into chain-simulator-extra-argument-star…
miiu96 Jul 19, 2024
a6d3565
Merge pull request #6322 from multiversx/optimize-display-process-tx-…
danidrasovean Jul 19, 2024
9ed17d2
Merge branch 'rc/v1.7.next1' into chain-simulator-extra-argument-star…
miiu96 Jul 19, 2024
462b14e
Merge branch 'rc/v1.7.next1' of https://github.com/multiversx/mx-chai…
sstanculeanu Jul 19, 2024
c8235f2
Merge pull request #6326 from multiversx/merge_rc17next1_into_feat_re…
miiu96 Jul 19, 2024
60a7475
fixed tests by using real FailedTxLogsAccumulator
sstanculeanu Jul 19, 2024
599170a
Merge pull request #6328 from multiversx/fix_tests
sstanculeanu Jul 19, 2024
215571b
Merge pull request #5741 from multiversx/feat/relayedv3
sstanculeanu Jul 19, 2024
89437ff
Merge branch 'rc/v1.7.next1' into chain-simulator-extra-argument-star…
miiu96 Jul 19, 2024
dacdcd2
Merge pull request #6320 from multiversx/chain-simulator-extra-argume…
miiu96 Jul 19, 2024
c90ae5b
fix white list handler for txs on source
miiu96 Jul 19, 2024
7939a64
Merge branch 'rc/v1.7.next1' into refactor-white-list-data-verifier-c…
miiu96 Jul 19, 2024
427ae45
Merge branch 'master' of https://github.com/multiversx/mx-chain-go in…
sstanculeanu Jul 25, 2024
768ec0d
updated deps after merge
sstanculeanu Jul 25, 2024
b100b84
Merge pull request #6331 from multiversx/merge_master_into_rc17next1_…
sstanculeanu Jul 25, 2024
5564501
Merge branch 'rc/v1.7.next1' into refactor-white-list-data-verifier-c…
miiu96 Jul 25, 2024
e014521
fix lint
sstanculeanu Jul 25, 2024
0d44327
fixes
miiu96 Jul 25, 2024
1608549
Merge pull request #6332 from multiversx/fix_rc_lint
sstanculeanu Jul 25, 2024
1657f8a
fix node dockerfile
danidrasovean Jul 25, 2024
4b4eccf
fix node dockerfile
danidrasovean Jul 25, 2024
6a74338
Merge branch 'rc/v1.7.next1' into refactor-white-list-data-verifier-c…
miiu96 Jul 25, 2024
620538d
fix termui dockerfile
danidrasovean Jul 25, 2024
268f82f
Merge pull request #6333 from multiversx/fix-node-dockerfile
danidrasovean Jul 25, 2024
eb1b250
Merge branch 'rc/v1.7.next1' into refactor-white-list-data-verifier-c…
miiu96 Jul 25, 2024
8098d3b
new flag for multi transfer and execute by user
sasurobert Jul 26, 2024
397439f
fixes
miiu96 Jul 26, 2024
ee15920
fix test
sasurobert Jul 26, 2024
28f517a
new vm
sasurobert Jul 26, 2024
12e7f54
fixes after review
miiu96 Jul 26, 2024
baa6266
fixed fee field for guardian operations
sstanculeanu Jul 26, 2024
552fbac
Merge pull request #6334 from multiversx/multiTransfer_execute_by_user
sstanculeanu Jul 29, 2024
8fd393c
updated deps
sstanculeanu Jul 29, 2024
c7616eb
Merge pull request #6336 from multiversx/update_deps
sstanculeanu Jul 29, 2024
590f161
Merge branch 'rc/v1.7.next1' into refactor-white-list-data-verifier-c…
miiu96 Jul 29, 2024
c9e292c
use setSpecialRole function in tests
ssd04 Jul 29, 2024
e46a815
fix linter issues
ssd04 Jul 30, 2024
2b97908
fix missing ESDTRoleNFTUpdate role
ssd04 Jul 30, 2024
18baf55
fix nonce var linter
ssd04 Jul 30, 2024
01aa23c
fix linter issue
ssd04 Jul 30, 2024
52b26d4
Merge branch 'rc/v1.7.next1' into esdt-improvements-integration-tests-p4
ssd04 Jul 30, 2024
c5975d8
refactor to use setSpecialRole in all tests
ssd04 Jul 30, 2024
5087af1
update getAllRolesForTokenType
ssd04 Jul 30, 2024
1521c98
fix linter issues
ssd04 Jul 30, 2024
06b165b
fix - only transfer role for second address
sasurobert Jul 30, 2024
3bb84e7
fix linter issues
ssd04 Jul 30, 2024
b6f3e88
Merge pull request #6350 from multiversx/esdt-improvements-integratio…
sstanculeanu Jul 31, 2024
9bb9cb2
Merge branch 'rc/v1.7.next1' into refactor-white-list-data-verifier-c…
miiu96 Jul 31, 2024
1eefd6f
legacy indexer chain simulator
miiu96 Jul 31, 2024
fe8f6a9
check roles which has to be singular
ssd04 Jul 31, 2024
d2a504f
check roles which has to be singular - update test + fix
ssd04 Jul 31, 2024
223bfb5
remove debug messages
ssd04 Jul 31, 2024
f9aadac
update change metadata test
ssd04 Jul 31, 2024
a369185
Merge pull request #6330 from multiversx/refactor-white-list-data-ver…
miiu96 Jul 31, 2024
411a3e3
Merge branch 'rc/v1.7.next1' into dynamic-roles-singular
miiu96 Jul 31, 2024
867b9c8
Merge pull request #6357 from multiversx/dynamic-roles-singular
ssd04 Aug 1, 2024
3da197f
even newer wasmer
sasurobert Aug 1, 2024
ce9b283
even newer wasmer
sasurobert Aug 2, 2024
8b4fb3a
new endpoint
miiu96 Aug 5, 2024
2bad2a7
fix
miiu96 Aug 5, 2024
792f6a7
fix endpoint
miiu96 Aug 5, 2024
77d133c
even newer wasmer
sasurobert Aug 6, 2024
ecb7bdc
Merge pull request #6365 from multiversx/new-wasmer-build-1.7.next1
sstanculeanu Aug 6, 2024
6539ea4
fix tests
miiu96 Aug 6, 2024
fb55c68
Merge branch 'rc/v1.7.next1' into new-endpoint-scrs-by-tx-hash
miiu96 Aug 6, 2024
708e08e
unit tests
miiu96 Aug 6, 2024
e291094
Merge remote-tracking branch 'origin/new-endpoint-scrs-by-tx-hash' in…
miiu96 Aug 6, 2024
d8f0a12
pre-final version. Add gh-action yml that build mx-chain-simulator-go…
btc-fan Aug 6, 2024
b60aa52
fix PR comments. Remove go Tidy from action and move it to the python…
btc-fan Aug 7, 2024
73c9880
Merge branch 'master' of https://github.com/multiversx/mx-chain-go in…
sstanculeanu Aug 8, 2024
a94af2a
updated deps after merge
sstanculeanu Aug 8, 2024
f894d55
use macos-13 instead of latest
sstanculeanu Aug 8, 2024
75cb695
added fix for relayed move balance to non payables
sstanculeanu Aug 8, 2024
6671aa7
Merge pull request #6380 from multiversx/merge_master_into_rc17next1_…
sstanculeanu Aug 9, 2024
35008c7
Merge branch 'rc/v1.7.next1' into fix_relayed_movebalance_to_nonpayable
sstanculeanu Aug 9, 2024
f35ea49
Merge branch 'rc/v1.7.next1' of https://github.com/multiversx/mx-chai…
sstanculeanu Aug 9, 2024
f289f70
updated core-go after merge
sstanculeanu Aug 9, 2024
dab6bcd
rename the action
btc-fan Aug 9, 2024
ffa43f7
fix CS script path
btc-fan Aug 9, 2024
db3bb47
rename step
btc-fan Aug 9, 2024
87cae3b
fixes after review
sstanculeanu Aug 9, 2024
0d54a93
Merge branch 'rc/v1.7.next1' into integrate-sys-tests-ci2
miiu96 Aug 9, 2024
7d0ea86
fixed test after fixes
sstanculeanu Aug 9, 2024
760583c
missing fix
sstanculeanu Aug 9, 2024
970a776
fix fee field for other relayed cases
sstanculeanu Aug 9, 2024
8fd9fe8
fix some tests and add more checks
BeniaminDrasovean Aug 9, 2024
43599ee
Merge remote-tracking branch 'origin/rc/v1.7.next1' into fix-esdt-met…
BeniaminDrasovean Aug 12, 2024
3a16b1b
update go mo
BeniaminDrasovean Aug 12, 2024
1494445
linter fixes
BeniaminDrasovean Aug 12, 2024
1ba9613
Merge branch 'rc/v1.7.next1' into new-endpoint-scrs-by-tx-hash
miiu96 Aug 12, 2024
a9e2b8f
update go mod
BeniaminDrasovean Aug 12, 2024
42bf1a3
fixes after review
sstanculeanu Aug 12, 2024
dd05764
fixes after review
miiu96 Aug 12, 2024
75b2aaa
small fix
miiu96 Aug 12, 2024
1745d47
comment
miiu96 Aug 12, 2024
07626af
Merge pull request #6377 from multiversx/integrate-sys-tests-ci2
btc-fan Aug 12, 2024
02057fe
Merge branch 'rc/v1.7.next1' into fix_relayed_movebalance_to_nonpayable
sstanculeanu Aug 13, 2024
a10c86d
Merge branch 'rc/v1.7.next1' into fix_fee_field
sstanculeanu Aug 13, 2024
3cbcc0c
Merge branch 'rc/v1.7.next1' into new-endpoint-scrs-by-tx-hash
miiu96 Aug 13, 2024
a7a39d3
further fixes after review-testing
sstanculeanu Aug 13, 2024
e8f7d9f
fix gh action
btc-fan Aug 13, 2024
d7e5ef8
reverted fix for guarded operations, not needed
sstanculeanu Aug 13, 2024
fc27372
further reverts
sstanculeanu Aug 13, 2024
4fa8c2d
Merge pull request #6373 from multiversx/new-endpoint-scrs-by-tx-hash
miiu96 Aug 14, 2024
8eaa7e3
Merge branch 'rc/v1.7.next1' into fix-esdt-metaData-in-system-account
ssd04 Aug 14, 2024
5214871
Merge branch 'rc/v1.7.next1' into fix_relayed_movebalance_to_nonpayable
sstanculeanu Aug 14, 2024
3e29afe
Merge branch 'rc/v1.7.next1' into fix_fee_field
sstanculeanu Aug 14, 2024
29f6aee
Merge branch 'rc/v1.7.next1' into integrate-sys-tests-ci2
miiu96 Aug 14, 2024
cab29d2
switch log level
sstanculeanu Aug 14, 2024
ae7b021
Merge pull request #6387 from multiversx/integrate-sys-tests-ci2
btc-fan Aug 16, 2024
fd45b7c
Merge branch 'rc/v1.7.next1' into log_trace_transactionsv2
sstanculeanu Aug 16, 2024
53ab845
Merge branch 'rc/v1.7.next1' into fix_fee_field
sstanculeanu Aug 16, 2024
110838b
Merge branch 'rc/v1.7.next1' into fix-esdt-metaData-in-system-account
ssd04 Aug 16, 2024
d2b858d
Merge pull request #6390 from multiversx/log_trace_transactionsv2
sstanculeanu Aug 16, 2024
e88633b
Merge branch 'rc/v1.7.next1' into fix-esdt-metaData-in-system-account
ssd04 Aug 16, 2024
bcfafbc
Merge pull request #6383 from multiversx/fix-esdt-metaData-in-system-…
ssd04 Aug 16, 2024
2a3b331
Merge branch 'rc/v1.7.next1' into fix_relayed_movebalance_to_nonpayable
sstanculeanu Aug 16, 2024
2474c88
Merge pull request #6382 from multiversx/fix_relayed_movebalance_to_n…
elvisboghiu Aug 17, 2024
37b5eea
Merge branch 'rc/v1.7.next1' into fix_fee_field
sstanculeanu Aug 17, 2024
6cec9ed
fix test after merge
sstanculeanu Aug 19, 2024
0123471
latest indexer version
miiu96 Aug 19, 2024
c1128fb
Merge branch 'master' into merge-master-rc1.7.next1-20-08-2024
sasurobert Aug 20, 2024
290d028
new VM after merge
sasurobert Aug 20, 2024
a79a79c
Merge pull request #6335 from multiversx/fix_fee_field
sstanculeanu Aug 20, 2024
c3a5299
Merge branch 'rc/v1.7.next1' into merge-master-rc1.7.next1-20-08-2024
sstanculeanu Aug 20, 2024
8840334
Merge branch 'rc/v1.7.next1' into latest-indexer-version
miiu96 Aug 20, 2024
49fc4cc
Merge pull request #6395 from multiversx/latest-indexer-version
miiu96 Aug 20, 2024
eed9f02
Merge branch 'rc/v1.7.next1' into merge-master-rc1.7.next1-20-08-2024
sstanculeanu Aug 20, 2024
aa22dd2
new VM after merge
sasurobert Aug 21, 2024
d391df9
update go mod and tests
BeniaminDrasovean Aug 24, 2024
fc4edd1
update stub
BeniaminDrasovean Aug 24, 2024
aa63740
Removed the pull request trigger from the workflow
danidrasovean Aug 26, 2024
5b5fd3c
Merge pull request #6410 from multiversx/keygen-remove-pull-request-a…
danidrasovean Aug 26, 2024
b1c35ba
Merge remote-tracking branch 'origin/rc/v1.7.next1' into save-Dynamic…
BeniaminDrasovean Aug 27, 2024
de4fa0a
Merge branch 'rc/v1.7.next1' into merge-master-rc1.7.next1-20-08-2024
BeniaminDrasovean Aug 27, 2024
196aed5
Merge pull request #6398 from multiversx/merge-master-rc1.7.next1-20-…
BeniaminDrasovean Aug 27, 2024
06e1d55
Merge remote-tracking branch 'origin/rc/v1.7.next1' into save-Dynamic…
BeniaminDrasovean Aug 27, 2024
667579e
update go mod
BeniaminDrasovean Aug 27, 2024
2cd2d55
Merge pull request #6409 from multiversx/save-DynamicNFT-metaData-on-…
BeniaminDrasovean Aug 28, 2024
b4b7a2a
update go mod
BeniaminDrasovean Aug 29, 2024
dd9dcaf
update go mod
BeniaminDrasovean Aug 30, 2024
5934073
fixed missing scrs when multiple inner tx fail with the same error, c…
sstanculeanu Aug 30, 2024
2955a97
Merge pull request #6426 from multiversx/fix_relayedv3_missing_scrs_o…
sstanculeanu Sep 2, 2024
305c5c1
Merge branch 'rc/v1.7.next1' into dynamic-roles-fix
BeniaminDrasovean Sep 2, 2024
b44fe4a
Merge pull request #6425 from multiversx/dynamic-roles-fix
BeniaminDrasovean Sep 2, 2024
814e493
fix docker annotations
sstanculeanu Sep 3, 2024
0998a1e
Merge pull request #6433 from multiversx/fix_docker_annotations
sstanculeanu Sep 3, 2024
e4a09c6
add testing scenarios and update go mod
BeniaminDrasovean Sep 3, 2024
70d3250
Merge branch 'rc/v1.7.next1' into esdt-testing-scenarios
BeniaminDrasovean Sep 3, 2024
7c71e3f
linter fixes
BeniaminDrasovean Sep 3, 2024
a1c51b3
Merge pull request #6434 from multiversx/esdt-testing-scenarios
BeniaminDrasovean Sep 4, 2024
506cd9f
proper fix for gasUsed and fee in case of relayedV3
sstanculeanu Sep 6, 2024
f3b4b13
fixes after review + extra test with multiple refunds
sstanculeanu Sep 6, 2024
51990e7
removed test
sstanculeanu Sep 6, 2024
398361a
simplify jsons
sstanculeanu Sep 6, 2024
237e149
Merge pull request #6440 from multiversx/fix_gasused_and_fee
sstanculeanu Sep 9, 2024
0378c6d
updated deps to tags
sstanculeanu Sep 9, 2024
afacd46
Merge pull request #6443 from multiversx/new_tags
sstanculeanu Sep 9, 2024
0e3adbb
proper fix for fee/initially paid fee for relayed after fix
sstanculeanu Sep 11, 2024
cfc8c78
added unittest
sstanculeanu Sep 11, 2024
1f2d593
new line at the end of newly added test json
sstanculeanu Sep 11, 2024
7becc67
added missing epoch for inner tx
sstanculeanu Sep 11, 2024
e37b5c2
update go mod and refactor some tests
BeniaminDrasovean Sep 12, 2024
3ec3288
change github workflow
BeniaminDrasovean Sep 12, 2024
4e58b18
new indexer version
miiu96 Sep 12, 2024
50114c8
Merge pull request #6454 from multiversx/proper_fee_fix_for_relayed_a…
sstanculeanu Sep 13, 2024
8569fe9
Merge branch 'rc/v1.7.next1' into keep-metadata-on-zero-liquidity-fixes
BeniaminDrasovean Sep 13, 2024
e80c725
Merge pull request #6458 from multiversx/keep-metadata-on-zero-liquid…
BeniaminDrasovean Sep 13, 2024
82658db
updated deps to tags
sstanculeanu Sep 17, 2024
02ae64f
Merge pull request #6467 from multiversx/new_tags
sstanculeanu Sep 17, 2024
7173c62
errors for invalid signatures in crypto hooks; update vm version
laurci Sep 17, 2024
693524f
Merge pull request #6470 from multiversx/crypto-ei-signature-hooks-er…
sstanculeanu Sep 18, 2024
e140ea3
new vm go tag
sstanculeanu Sep 18, 2024
a6d2fab
newer vm go tag
sstanculeanu Sep 18, 2024
c437db7
Merge pull request #6472 from multiversx/new_vm_go
sstanculeanu Sep 18, 2024
965682c
update vm common version and add integration tests
BeniaminDrasovean Sep 23, 2024
61a1de9
fix linter issue
BeniaminDrasovean Sep 23, 2024
7c480fa
update go mod
BeniaminDrasovean Sep 23, 2024
023dcb5
upgrade wasmer executor version
laurci Sep 23, 2024
5e306b5
Merge branch 'master' into master-into-spica-2024-09-24
andreibancioiu Sep 24, 2024
9473518
Merge pull request #6492 from multiversx/master-into-spica-2024-09-24
andreibancioiu Sep 24, 2024
9c1e231
Merge branch 'rc/v1.7.next1' into zero-nonce-metadata-fix
BeniaminDrasovean Sep 24, 2024
702a810
Merge pull request #6488 from multiversx/zero-nonce-metadata-fix
BeniaminDrasovean Sep 24, 2024
c69930e
update vm version
laurci Sep 24, 2024
79e6cbf
Merge remote-tracking branch 'origin/rc/v1.7.next1' into upgrade-wasm…
laurci Sep 24, 2024
87bda6f
upgrade wasmer executor version
laurci Sep 25, 2024
fa5fc0b
upgrade wasmer executor version
laurci Sep 26, 2024
ba8830f
Merge pull request #6489 from multiversx/upgrade-wasmer-executor-version
laurci Sep 27, 2024
7b855cd
updated mx-chain-vm-go to latest rc/v1.7.next1
sstanculeanu Sep 27, 2024
2ebe147
Merge branch 'rc/v1.7.next1' of https://github.com/multiversx/mx-chai…
sstanculeanu Sep 27, 2024
0ef7d5d
Merge pull request #6504 from multiversx/update_tags
sstanculeanu Sep 27, 2024
4f16b0a
add more integration tests
BeniaminDrasovean Oct 7, 2024
955a896
Merge pull request #6522 from multiversx/update-before-create-dynamic…
BeniaminDrasovean Oct 7, 2024
7005551
reverted relayed v3
sstanculeanu Oct 18, 2024
0678c6e
updated indexer
sstanculeanu Oct 21, 2024
953bb39
possible fix for failing test
sstanculeanu Oct 21, 2024
919d287
fixes after review
sstanculeanu Oct 21, 2024
2bcbc15
removed config
sstanculeanu Oct 21, 2024
520f93f
more fixes after review
sstanculeanu Oct 21, 2024
4306c57
new version of mx-chain-comm-go
miiu96 Oct 21, 2024
5897fbc
fix for workflow
sstanculeanu Oct 22, 2024
c363b2e
Merge pull request #6551 from multiversx/fix_workflow
sstanculeanu Oct 22, 2024
0b88dd5
reverted last commit
sstanculeanu Oct 22, 2024
f8f6b35
fix gasUsed and fee for relayed v1 and v2
sstanculeanu Oct 23, 2024
79e9f2c
fixed also prepareTxWithResultsBasedOnLogs
sstanculeanu Oct 24, 2024
158ca36
fixes after review
sstanculeanu Oct 24, 2024
676807a
Merge pull request #6556 from multiversx/fix_gasused_and_fee
sstanculeanu Oct 24, 2024
6f7ae0b
fix linter
sstanculeanu Oct 24, 2024
895c6b2
fixes after review, removed duplicated code
sstanculeanu Oct 24, 2024
d9d3dc7
Merge pull request #6550 from multiversx/update-mx-chain-communicatio…
miiu96 Oct 25, 2024
1c6dc0c
Merge branch 'rc/v1.7.next1' into revert_relayedv3
sstanculeanu Oct 25, 2024
17a4819
Merge pull request #6546 from multiversx/revert_relayedv3
sstanculeanu Oct 25, 2024
32ce83e
update tags
sstanculeanu Oct 31, 2024
3db2d3b
Merge pull request #6572 from multiversx/update_tags_for_release
sstanculeanu Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions api/groups/addressGroup.go
Original file line number Diff line number Diff line change
@@ -72,9 +72,11 @@ type esdtTokenData struct {
Properties string `json:"properties"`
}

type esdtNFTTokenData struct {
// ESDTNFTTokenData defines the exposed nft token data structure
type ESDTNFTTokenData struct {
TokenIdentifier string `json:"tokenIdentifier"`
Balance string `json:"balance"`
Type string `json:"type"`
Properties string `json:"properties,omitempty"`
Name string `json:"name,omitempty"`
Nonce uint64 `json:"nonce,omitempty"`
@@ -448,7 +450,7 @@ func (ag *addressGroup) getAllESDTData(c *gin.Context) {
return
}

formattedTokens := make(map[string]*esdtNFTTokenData)
formattedTokens := make(map[string]*ESDTNFTTokenData)
for tokenID, esdtData := range tokens {
tokenData := buildTokenDataApiResponse(tokenID, esdtData)

@@ -481,12 +483,14 @@ func (ag *addressGroup) isDataTrieMigrated(c *gin.Context) {
shared.RespondWithSuccess(c, gin.H{"isMigrated": isMigrated})
}

func buildTokenDataApiResponse(tokenIdentifier string, esdtData *esdt.ESDigitalToken) *esdtNFTTokenData {
tokenData := &esdtNFTTokenData{
func buildTokenDataApiResponse(tokenIdentifier string, esdtData *esdt.ESDigitalToken) *ESDTNFTTokenData {
tokenData := &ESDTNFTTokenData{
TokenIdentifier: tokenIdentifier,
Balance: esdtData.Value.String(),
Properties: hex.EncodeToString(esdtData.Properties),
}

tokenType := core.ESDTType(esdtData.Type).String()
if esdtData.TokenMetaData != nil {
tokenData.Name = string(esdtData.TokenMetaData.Name)
tokenData.Nonce = esdtData.TokenMetaData.Nonce
@@ -495,11 +499,25 @@ func buildTokenDataApiResponse(tokenIdentifier string, esdtData *esdt.ESDigitalT
tokenData.Hash = esdtData.TokenMetaData.Hash
tokenData.URIs = esdtData.TokenMetaData.URIs
tokenData.Attributes = esdtData.TokenMetaData.Attributes

tokenType = getTokenType(esdtData.GetType(), tokenData.Nonce)
}

tokenData.Type = tokenType

return tokenData
}

func getTokenType(tokenType uint32, tokenNonce uint64) string {
isNotFungible := tokenNonce != 0
tokenTypeNotSet := isNotFungible && core.ESDTType(tokenType) == core.NonFungible
if tokenTypeNotSet {
return ""
}

return core.ESDTType(tokenType).String()
}

func (ag *addressGroup) getFacade() addressFacadeHandler {
ag.mutFacade.RLock()
defer ag.mutFacade.RUnlock()
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV1.toml
Original file line number Diff line number Diff line change
@@ -112,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV2.toml
Original file line number Diff line number Diff line change
@@ -112,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV3.toml
Original file line number Diff line number Diff line change
@@ -112,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV4.toml
Original file line number Diff line number Diff line change
@@ -112,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV5.toml
Original file line number Diff line number Diff line change
@@ -112,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV6.toml
Original file line number Diff line number Diff line change
@@ -112,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
1 change: 1 addition & 0 deletions cmd/node/config/gasSchedules/gasScheduleV7.toml
Original file line number Diff line number Diff line change
@@ -113,6 +113,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
43 changes: 26 additions & 17 deletions cmd/node/config/gasSchedules/gasScheduleV8.toml
Original file line number Diff line number Diff line change
@@ -16,6 +16,11 @@
ESDTNFTUpdateAttributes = 50000
ESDTNFTMultiTransfer = 200000
MultiESDTNFTTransfer = 200000 # should be the same value with the ESDTNFTMultiTransfer
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
@@ -108,6 +113,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
@@ -190,23 +196,26 @@
CopyPerByteForTooBig = 1000

[CryptoAPICost]
SHA256 = 1000000
Keccak256 = 1000000
Ripemd160 = 1000000
VerifyBLS = 5000000
VerifyEd25519 = 2000000
VerifySecp256k1 = 2000000
EllipticCurveNew = 10000
AddECC = 75000
DoubleECC = 65000
IsOnCurveECC = 10000
ScalarMultECC = 400000
MarshalECC = 13000
MarshalCompressedECC = 15000
UnmarshalECC = 20000
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
SHA256 = 1000000
Keccak256 = 1000000
Ripemd160 = 1000000
VerifyBLS = 5000000
VerifyEd25519 = 2000000
VerifySecp256k1 = 2000000
EllipticCurveNew = 10000
AddECC = 75000
DoubleECC = 65000
IsOnCurveECC = 10000
ScalarMultECC = 400000
MarshalECC = 13000
MarshalCompressedECC = 15000
UnmarshalECC = 20000
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Loading