Skip to content

Commit

Permalink
Update new rpc tests to mainnet v1.32.2 (#3671)
Browse files Browse the repository at this point in the history
* fix(docs, examples): reintroduced the self sponsor example

* fix(docs): reintroduced the self sponsor part in the developer sidebar

* feat(iota-json-rpc-tests): add read api tests (#3102)

* feat(iota-json-rpc-tests): add read api tests

* fixup! feat(iota-json-rpc-tests): add read api tests

* feat(iota-json-rpc-tests): improve code and add some utility functions

* fixup! feat(iota-json-rpc-tests): improve code and add some utility functions

* fixup! fixup! feat(iota-json-rpc-tests): improve code and add some utility functions

* fix(iota-json-rpc-tests): fix cargo fmt

- fix(iota-json-rpc-types): fix cargo fmt
- fix(test-cluster): fix cargo fmt

* feat(iota-json-rpc-tests): add execution assertion

* feat(iota-sdk): accept impl Into<String> instead of String (#3258)

Co-authored-by: /alex/ <[email protected]>

* feat(iota): add tests for IotaClientCommands::{Balance, Faucet} (#3152)

* feat(explorer,wallet): Fix all UI errors and warnings (#3057)

* feat(explorer): fix all UI errors & warnings

* feat(wallet): fix UI errors and warnings in console.

* feat(wallet, ui-kit): hide DialogTitle by VisuallyHidden

* feat(wallet): remove DialogTitle from PasswordInputDialog.

* feat(explorer, wallet, uikit): update DialogContent, update key for table.

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(ui-kit): add description under VisuallyHidden.

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

---------

Signed-off-by: Eugene Panteleymonchuk <[email protected]>
Co-authored-by: Bran <[email protected]>

* feat(docs) create quiz for consensus and transaction lifecycle

* feat(docs) create quiz for epoch page

* feat(docs) create quiz for staking and reward page

* feat(docs) create quiz for protocol upgrade page

* fix(docs) implement review suggestions

* fix(devx) create signed commit

* fix(devx) set up ssh

* fix(devx) sign commit

* fix(devx) test if commit is signed

* fix(devx) test sign commit

* fix(devx) check signing key work

* fix(devx) cargo update tonic

* fix(devx) rebase

* fix(devx) fix build

* fix(devx) rebase again

* fix(devx) test before pushing

* feat(wallet): polish loaders (#3219)

* chore(transaction-builder): impl Into<Option<_>> parameters (#2262)

* chore(iota-sdk): impl Into<Option<_>> parameters

* chore(transaction-builder): impl Into<Option<_>> parameters

* more Into

* more uses

* fix: improve explorer links (#3220)

* hotfix(wallet-dashboard): temporarily skip failing unit test in vesting spec until fixed (#3305)

* chore(*): replace [email protected] with [email protected] (#3275)

* fix(tooling-ci): Improve Explorer e2e tests reliability with 'waitForTransaction' (#3298)

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* fix(node): Update tonic to 0.12.3 (#3287)

* feat(explorer): rebrand error texts to info boxes (#3274)

Co-authored-by: Bran <[email protected]>

* feat(wallet): rebrand connected account to dapp (#3273)

* feat: rebrand connected account to dapp

* fix format

* feat: add padding right

* fix: remove duplicated items

---------

Co-authored-by: Bran <[email protected]>

* chore(ci): bump upload-artifact/download-artifact to v4 (#3283)

* fix(explorer): fix paginated owned coins not resetting active page on filter change (#3282)

* fix: paginated owned coins not resetting active page on filter change

* feat: cleanup

* feat(wallet): UI/UX polishes (#3292)

* feat:truncate dappinfocard

* feat: add loaders to buttons

* feat: make object changes easy to read

* feat: show back button to views

* feat: update image size

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* feat(wallet): set max visible toasts and fix faucet message (#3302)

* feat: set max visibble toasts

* feat: update message

* feat: fix format

* feat(scripts): refactor `search_versions` to generic search framework and add `search_tests` script (#3325)

* feat(scripts): refactor `search_versions` to generic search framework

* feat(scripts): add `search_tests` script

* feat(wallet): use recognized badge in balance changes instead of unrecognized badge (#3286)

* feat: use recognized badge

* minor fix

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* chore(tests): disable zklogin tests (#3331)

* fix(docs) : Fix Mermaid flowchart display (#3233)

* Fix Mermaid Flowchart display issue

* feat(iota-genesis-builder,iota-node): Genesis restructuring (#3054)

* feat(iota-genesis-builder, iota-core): support migration transactions effects in genesis (#2895)

* feat(iota-genesis-builder): add dedicated function to split and burn migrated objects (#2885)
* feat(iota-config, iota-genesis-builder): accumulate migration txs effect in genesis in order to verify migration blob data in future
* feat(iota-genesis-builder): objects chunk per transaction implementation

Co-authored-by: Mirko Zichichi <[email protected]>

* feat(iota-genesis-builder, iota-swarm, iota-core, iota-cluster): generating of the migration.blob for the migration txs data accumulation (#2925)

* feat(iota-genesis-builder, iota-swarm, iota-core, iota-cluster): generating of the migration.blob for the migration txs data accumulation

* fix(iota-genesis-builder): restore save/load operations of migration tx data (#3028)

* fix(iota-genesis-builder): fix save/load of migration tx data in the builder

* refactor(iota-genesis-builder): pass migration sources from cli in from_s3 example

* feat(iota-genesis-builder, iota-swarm, iota-core, iota-config): Store migration data in the node's database (#2955)

* feat(iota-genesis-builder): add dedicated function to split and burn migrated objects (#2885)

* fix(iota-config, iota-genesis-builder): accumulate migration txs effect in genesis in order to verify migration blob data in future

* fix(iota-genesis-builder): objects chunk per transaction implementation

* Removing extra println

* fix(iota-genesis-builder, iota-swarm, iota-core, iota-cluster): generating of the migration.blob for the migration txs data accumulation

* fix(iota): Deal with migration tx data for network config (#2937)

* fix(iota): remove migration tx data from network config

* fix(iota): save migration tx data

* fix(cluster-test): comment

* fix(iota-genesis-builder, iota-swarm, iota-core, iota-config): store migration data in the node's db, pass config_dir field in order to get acess to the migration data

* fix(iota-core): add error message to migration data storing process

* Fix review comments

* fix review comments

* Fix review comments

* refactor(node-config): optimizations and clippy

* fix(iota-config, iota-genesis-builder): fix issue #2957(genesis.blob to only contain TransactionDigests)

* feat(iota-config/node): create a node::MigrationTxData type (#3023)

* feat(iota-config/node): create a node::MigrationTxData type

* feat(iota-config/node): make node::MigrationTxData memory efficient

* fix(node): serde serialization

* fix(node): pass migration objects to AuthorityState (#3030)

* feat(iota-genesis-builder): remove migration tx digests from Genesis (#3034)

* fix(iota-node): migration transactions execution has been added (#3032)

* fix(iota-node): migration transactions execution have been added
---------
Co-authored-by: miker83z <[email protected]>

* fix(iota-genesis-builder): remove leftover

---------

Co-authored-by: Mirko Zichichi <[email protected]>
Co-authored-by: miker83z <[email protected]>

* feat(iota-node, iota-config, iota-core, genesis-builder): remove vector of objects from the migration blob (#3052)

* feat(iota-node, iota-config, iota-core, genesis-builder): remove vector of objects from the migration blob, get objects on the fly
* feat(iota-core, iota-config): migration.blob content validation

* Fix review comments

* feat: update restructured genesis to mainnet v1.32.2 (#3135)

* Revert "feat: update restructured genesis to mainnet v1.32.2 (#3135)"

This reverts commit e6e5cdcf1d7dd703c39bf58040c9ab12d7e5f79d.

* Fix review comments

* Extra method has been removed

* fix(iota-genesis-builder): Refactoring chunk processing for migration objects

* cargo fmt

* Minor fix

* Update crates/iota-node/src/lib.rs

Co-authored-by: Konstantinos Demartinos <[email protected]>

* Review comments fixes:
1. error/logging message begin with lower-case
2. New method for migration_tx_data (get_objects) getting all objects
3. Minor authority db migration tx loops refactoring

* Review comments fixes

* Fix review comments

* Invert contains_migrations logic

* Renaming "vanilla" to "without_migration" suffix

* cargo fmt

* Update crates/iota-genesis-builder/src/lib.rs

Co-authored-by: Mirko Zichichi <[email protected]>

* Update crates/iota-genesis-builder/src/lib.rs

Co-authored-by: Mirko Zichichi <[email protected]>

* Update crates/iota-config/src/genesis.rs

Co-authored-by: Mirko Zichichi <[email protected]>

* fix(iota-node): lazy load migration.blob file in node (#3165)

* fix(iota-node): lazy load migration.blob file in node

* Propegate error instead of `expect()`

Co-authored-by: Mirko Zichichi <[email protected]>

---------

Co-authored-by: Mirko Zichichi <[email protected]>

* feat(genesis-builder): validate migration data before taking it (#3162)

* refactor(iota-genesis-builder): build method returns new type GenesisBuildEffects that accumulates both genesis and migration data

* Review comments fix

* Cargo fmt

* fix(iota-genesis-builder): fix examples

* Fix of review comments

* Fix of review comments

* remove extra serde arg

* fix(iota-config): tests fix (#3217)

* fix(iota-config): iota-config  tests fix

* fix(iota-swarm-config): update config snapshot with mock migration blob path (#3222)

* fix/refactor(iota-genesis-builder): Create `iota-genesis-common` and fix migration objects versioning (#3228)

* refactor(iota-genesis-builder): create iota-genesis-common

* fix(iota-config): update migration Move objects versions

* fix(iota-genesis-builder): after rebase

* fix(iota-genesis-common): fix dprint

* docs(iota-genesis-common): add comments

* feat(iota-config): validate migration objects execution

* fix(iota-genesis-common): remove unused dependency

---------

Co-authored-by: Levente Pap <[email protected]>

* docs(iota-genesis): add comments

* refactor(iota-genesis-builder): migration_tx_max_amount

* refactor(iota-config): remove node's version of MigrationTxData

* Update crates/iota-genesis-builder/src/lib.rs

Co-authored-by: Thoralf-M <[email protected]>

* docs(iota-genesis): fix comments

* fix(iota-swarm-config): snapshot update

* fix(ci): add iota-genesis-common to crates-filters

* refactor(iota-genesis-builder): remove SMR

Co-authored-by: Thoralf-M <[email protected]>

* Update crates/iota-config/src/genesis.rs

Co-authored-by: DaughterOfMars <[email protected]>

* Update crates/iota-genesis-common/src/lib.rs

Co-authored-by: Thoralf-M <[email protected]>

* Update crates/iota-genesis-builder/src/lib.rs

Co-authored-by: Thoralf-M <[email protected]>

* comments

* fix copyright

* fix the 'l' key on my keyboard

* fix dependencies and full node template

* fix email contact

---------

Co-authored-by: Pavlo Botnar <[email protected]>
Co-authored-by: Konstantinos Demartinos <[email protected]>
Co-authored-by: Levente Pap <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
Co-authored-by: DaughterOfMars <[email protected]>

* feat!(iota/iota-keys): use bech32 instead of base64 for private key encoding (#1479)

* feat!(iota/iota-keys): use bech32 instead of base64 for private key encoding

* Update keystore files to new format

* fix(iota-framework/iota-system): fix MAX_VALIDATOR_GAS_PRICE check

* ifx(iota-framework-snapshot): snapshot update

* feat(wallet): create `formatAccountName` helper function (#3281)

* feat: create helper function

* feat: use new function

* fix function

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
Co-authored-by: Bran <[email protected]>
Co-authored-by: Marc Espin <[email protected]>

* chore(tests): disable bridge tests (#3341)

* fix(iota-framework): update iota-system snapshot (#3347)

* fix(iota-framework): update iota-system snapshot

* fix(iota-framework): update framework snapshots

* fix(iota-source-validation-service): test_api_route works again (#3324)

* remove(node): remove unused protocol feature flags (#3344)

* remove(node): remove `scoring_decision_with_validity_cutoff` feature flag

* remove(node): remove `disallow_adding_abilities_on_upgrade` feature flag

* remove(node): remove `package_digest_hash_module` feature flag

* remove(node): remove `narwhal_versioned_metadata` feature flag

* remove(node): remove `upgraded_multisig_supported` feature flag

* remove(node): remove `narwhal_new_leader_election_schedule` feature flag

* remove(node): remove `receive_objects` feature flag

* remove(node): remove `narwhal_certificate_v2` feature flag

* chore(node): fix protocol snapshots

* fix(node): remove deprecated code

* fix(tests): remove deprecated feature_deny tests

* remove(node): remove `package_upgrades` feature flag

* fix(iota-graphql-e2e-tests): restore validator/transactions tests (#3333)

* fix(iota-graphq-e2e-tests): update validator baseline

* fix(iota-transactional-test-runner): revert encoding without padding

* fix(iota-graphql-rpc): load genesis large-object by digest

* fix(iota-graphql-e2e-tests): update baselines for transactions test

* feat(iota): add IotaValidatorCommand::List command (#3291)

* feat(iota): add IotaValidatorCommand::Validators command

* Rename command from Validators to List

* Use tabled to align output with other commands

* cleanup

* chore(dependencies): Move dependencies once again (#3085)

* chore(dependencies): Move dependencies once again

* dprint

* fix iota execution deps

* revert changes in iota-execution

* update tonic and futures-util

* chore(tests): disable jwk related tests (#3348)

* feat(CI): update release workflow (#3345)

* feat(CI): update release workflow

* fix: remove unused binary from internal list

* fix: add comment on why windows is disabled

* fix(CI): fix linux binary release tar name (#3370)

* remove(node): remove `txn_base_cost_as_multiplier` feature flag (#3367)

* remove(node): remove `commit_root_state_digest` feature flag (#3350)

* remove(node): remove `loaded_child_objects_fixed` feature flag (#3352)

* remove(node): remove `missing_type_is_compatibility_error` feature flag (#3354)

Co-authored-by: Alexander Sporn <[email protected]>

* remove(node): remove `disallow_change_struct_type_params_on_upgrade` feature flag (#3360)

Co-authored-by: Alexander Sporn <[email protected]>

* remove(node): remove `end_of_epoch_transaction_supported` feature flag (#3368)

Co-authored-by: Alexander Sporn <[email protected]>

* remove(node): remove `consensus_order_end_of_epoch_last` feature flag (#3357)

Co-authored-by: Alexander Sporn <[email protected]>

* remove(node): remove `simple_conservation_checks` feature flag (#3369)

Co-authored-by: Alexander Sporn <[email protected]>

* remove(node): remove `advance_epoch_start_time_in_safe_mode` feature flag (#3351)

Co-authored-by: Alexander Sporn <[email protected]>

* remove(node): remove `ban_entry_init` feature flag (#3358)

Co-authored-by: Alexander Sporn <[email protected]>

* Remove unused anemo config (#3374)

* fix: Wrong DB URL for indexer-analytics in docker-compose configuration + fix default DB URL (#3316)

* feat: bump iota to v0.3.0 (#3379)

* fix(explorer): Show publish tx data (#3313)

* fix(explorer): Show publish tx data

* fmt

---------

Co-authored-by: evavirseda <[email protected]>

* docs(iota-framework): add readme for packages snapshot (#3377)

* refactor(general): Update turborepo to 2.1.3 (#3329)

* feat(apps-ui-kit): add missing animation transitions (#3328)

* feat(e2e-tests): add test for run fullnode with migration data (#3361)

* feat(e2e-tests): add test for run fullnode with migration data

* feat: remove Toggle from apps/ui (#3332)

* fix(iota-graphql-e2e-tests): restore remaining tests (#3371)

* fix(iota-graphql-e2e-tests): restore transaction_block_effects

* fix(iota-graphql-e2e-tests): restore packages

* fix(iota-graphql-e2e-tests): restore remaining tests

* refactor(iota-graphql-e2e-tests): add more event info in output_node_estimation

* refactor(iota-graphql-e2e-test): update comments and add more info in object/pagination

* feat(ui): remove `apps/ui/src/Combobox.tsx` (#3342)

* feat: remove combobox and replace it

* fix suggestions

* fix(e2e-tests): Increase timeout from 60s to 300s in validator_tx_finalizer_e2e_tests.rs (#3378)

* refactor(explorer): Add units to table cells (#3031)

* refactor(explorer): Make some table columns with timestamps be properly formatted

* refactor(explorer): Make some table columns show a ticker and be properly formatted according to their unit

* fmt

* fmt

* use iota instead of nano for tx gas used

* experiment

* remove experiment

---------

Co-authored-by: Bran <[email protected]>

* feat: remove button component and story (#3343)

Co-authored-by: Bran <[email protected]>

* feat(ui): remove `apps/ui/src/Heading.tsx` (#3353)

* feat: remove heading

* feta: remove unused components after remove heading

* feat: update missing styles

* feat: remove heading

* feat: remove debris

* fix: update schemas (#3384)

* fix: add conditional check for pull request event in preview deployments (#3381)

* fix(testings) Fix testings and ignore Sui-failed tests (#3363)

* Fix testings and ignore Sui-failed tests

* Remove uncessary line and spaces

* Change the ignore issue for test_passkey_feature_deny

* Reopen already passed tests

* Remove the ignored tests those are under re-investigation

* Use iota naming

* ci(turborepo): remove audit dependency to run lint check (#3373)

* feat(ui): remove `apps/ui/src/LoadingIndicator.tsx` (#3356)

* feat(ui): remove `apps/ui/src/Placeholder.tsx` (#3362)

* feat: update to use our styles

* feat: dd placeholder to ui-kit

* feat: update ui-kit

* feat: remove nnd replace with new placeholder compoentn

* fix: clenaup

* fix(wallet): avoid opening multiple wallet connection popup (#3195)

* fix(wallet): avoid opening multiple wallet connection popup

* fix: e2e tests

* fix: type

* fix: update sites-to-cs-messaging.spec.ts

* fix: update sites-to-cs-messaging.spec.ts

* fix: tests

* fix: remove debris

* fix: import dotenv in vite test

---------

Co-authored-by: Mario <[email protected]>
Co-authored-by: Marc Espin <[email protected]>

* feat(ui): remove `apps/ui/src/IconButton.tsx` (#3355)

* feat: remove iconButton compoentn

* feat: remove debris

* feat(iota-json-rpc-tests): Add tests for MoveUtils json rpc api (#3315)

* feat(iota-json-rpc-tests): Add tests for MoveUtils json rpc api

* Run `cargo +nightly fmt`

* fix: parse docker meta tags correctly for different network tags (#3386)

* fix: parse dockere meta tags correctly for different network tags

* fix: simplify docker tagging

* chore(apps-backend): cleanup features (#3172)

* feat(apps-backend): cleanup features.

* feat(apps-backend): add recognized packages.

* fix(apps-backend): update config

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): update pnpm-lock.yaml

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): remove  --frozen-lockfile from CI for testing.

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* Revert "feat(apps-backend): remove  --frozen-lockfile from CI for testing."

This reverts commit 1b69fd288515044a698d650a340534a50a9ebfe1.

* feat(apps-backend): update config.

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): add iota-core.d.ts

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): add another path for iota-core.d.ts

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): remve one declare from iota-core.d.ts

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): return features.

Signed-off-by: Eugene Panteleymonchuk <[email protected]>

* feat(apps-backend): updates after comments.

---------

Signed-off-by: Eugene Panteleymonchuk <[email protected]>
Co-authored-by: Marc Espin <[email protected]>
Co-authored-by: Bran <[email protected]>
Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* feat: bump iota to 0.3.1 (#3397)

* remove(node): remove `simplified_unwrap_then_delete` feature flag (#3366)

* remove(node): remove `simplified_unwrap_then_delete` feature flag

* remove(node): remove killswitch for tombstone pruning in `AuthorityStorePruner`

* Update crates/iota-core/src/authority/authority_store_tables.rs

Co-authored-by: Thoralf-M <[email protected]>

---------

Co-authored-by: Thoralf-M <[email protected]>

* remove(node): remove `verify_legacy_zklogin_address` feature flag (#3393)

* remove(node): remove `verify_legacy_zklogin_address` feature flag

* chore(node): rustfmt

---------

Co-authored-by: Alexander Sporn <[email protected]>

* feat(ui): remove `apps/ui/src/Text.tsx` and all `apps/ui` debris (#3372)

* feat: remove heading

* feta: remove unused components after remove heading

* feat: update missing styles

* feat: remove heading

* feat: remove debris

* feat: remove text component

* feat: remove all debris

* fix:remove changeset

* fix format

---------

Co-authored-by: Bran <[email protected]>

* remove(node): Cleanup `ConsensusCommitPrologue` and related protocol flags (#3429)

* remove(node): ramove `prepend_prologue_tx_in_consensus_commit_in_checkpoints` feature flag

* remove(node): remove `include_consensus_digest_in_prologue` feature flag

* remove(node): remove `record_consensus_determined_version_assignments_in_prologue` feature flag

* remove(node): removed `ConsensusCommitPrologue` and `ConsensusCommitPrologueV2`

* fix(graphql): cleanup ConsensusCommitPrologueTransaction

* chore(node): rename `ConsensusCommitPrologueV3` to `ConsensusCommitPrologueV1`

* fix(node): fixed transaction test after renaming consensus commit prologue

* Re-generated the openrpc and graphql schemas

* fix(iota-graphql-rpc): update schema test snapshot

* Updated iota-graphql—e2e-tests

---------

Co-authored-by: Konstantinos Demartinos <[email protected]>

* feat: removed deny_list_v1

* fix(iota-framework-snapshot): the snapshots were updated

* remove(node): remove `enable_effects_v2` feature flag (#3437)

* remove(node): remove `fresh_vm_on_framework_upgrade` feature flag (#3444)

* fix(CI): disable udeps due to nightly bug (#3455)

* fix(iota-adapter-transactional-tests): removed deny_list_v1 tests

* fix(iota-swarm-config): updated snapshot

* fix: removed outdated TODOs

* remove(node): remove `random_beacon` feature flag and deprecated store tables (#3383)

* remove(node): remove `random_beacon` feature flag

* remove(node): do not `create_randomness_state_tx` during `advance_epoch_tx` because the state now always exists

* remove(node): remove deprecated tables `assigned_shared_object_versions` and `pending_checkpoints` and rename versions

* remove(node): remove unused `randomness_state_exists` func

* remove(node): remove `RandomnessStateCreate` and all associated logic

* chore(node): fix clippy error

* fix(node): fix graphql tests

* Fix tests with randomness enabled (#3456)

* fix(iota-e2e-tests/randomness): remove due to #3383 (#3424)

* fix(node): fix clippy error

---------

Co-authored-by: Piotr Macek <[email protected]>
Co-authored-by: Pavlo Botnar <[email protected]>

* remove(node): remove `allow_receiving_object_id` feature flag (#3439)

* remove(node): remove `allow_receiving_object_id` feature flag

* chore(node): fix clippy errors

* chore(node): rustfmt

* fix(iota-protocol-config) remove loaded_child_object_format flag and related checks, snapshot have been updated (#3435)

* fix(iota-protocol-config) remove loaded_child_object_format flag and related checks, snapshot have updated

* chore(dependencies): Update `iota-rust-sdk` hash (#3458)

* fix(iota-graphql-e2e-tests)L the tests updated

* feat!(iota-transaction-builder): remove digest param from TransactionBuilder::upgrade as it can be computed inside (#3294)

* feat!(iota-transaction-builder): remove digest param from TransactionBuilder::upgrade as it can be computed inside

* Always select the correct object as input

* Update tests

* Refactor compute_digest_for_modules_and_deps

* Fix comparison

* tweaks

* Compare against UpgradeCap::type_()

* Update iota.yaml

---------

Co-authored-by: Chloe Martin <[email protected]>

* remove(node): remove `reject_mutable_random_on_entry_functions` feature flag (#3440)

* remove(node): remove `reject_mutable_random_on_entry_functions` feature flag

* chore(node): fix clippy errors

* chore(node): remove unused `verifier_config` parameter

* chore(node): rustfmt

* remove(node): remove `reshare_at_same_initial_version` feature flag (#3441)

* remove(node): remove `reshare_at_same_initial_version` feature flag

* fix(node): fix iota-adapter-transactional tests

* fix(node): remove re_share_not_reshare tests

* remove(node): remove `resolve_abort_locations_to_package_id` feature flag (#3442)

* remove(node): remove `resolve_abort_locations_to_package_id` feature flag

* remove(node): remove unused abort code tests

* fix(iota-protocol-config): remove loaded_child_object_format_type flag and related checks, snapshot have been updated (#3438)

* fix(iota-protocol-config) remove loaded_child_object_format flag and related checks, snapshot have updated

* cargo fmt

* fix(iota-protocol-config): remove loaded_child_object_format_type flag and related checks, snapshot have been updated

* rebase fix

* fix rebase

* cargo fmt

* Clippy fix

* fix(core): e2e tests for passkey (#3390)

* fixed e2e tests for passkey

* addressed linter remarks

* addressed linter remarks

* changed access to read

* addressed review remarks

---------

Co-authored-by: Hans Moog <[email protected]>

* fix(iota-protocol-config): removed extra enable_coin_deny_list_v2 flag setting

* fix(iota-types): use a named argument for the deny list object root error

* chore(core-node): Remove MultiSigLegacy (#3375)

* removed MultiSigLegacy

* addressed linter issues

* addressed linter issues

* addressed review remarks (remove unnecessary clone)

* addressed linter remarks

* testcommit

* reverted change

---------

Co-authored-by: Hans Moog <[email protected]>

* remove(node): remove `soft_bundle` feature flag (#3478)

* refactor(iota-json-rpc-tests): Optimise `iota-json-rpc` tests (#3392)

* refactor(iota-json-rpc-tests): add about the simulation profile in the README

* fixup! refactor(iota-json-rpc-tests): add about the simulation profile in the README

Co-authored-by: Konstantinos Demartinos <[email protected]>

---------

Co-authored-by: Konstantinos Demartinos <[email protected]>

* fix(iota-rosetta): fix tests (#3477)

* fix(iota-rosetta): fix tests

* dprint

* move signature rand-preview to iota-rosetta dev-dependencies

* fix(iota-e2e-tests): Reintroduce randomness test with correct semantics (#3473)

* fix(iota-e2e-tests): reintroduce randomness test with correct semantics

* fix(iota-e2e-tests): change randomness test name

* refactor(tooling-ci): Run TS e2e tests on develop (#3295)

* refactor(tooling-ci): Run TS e2e tests on develop

* experiments

* fix

* fix

* fix

* fix

* fix

* fix

* clean up

* clean up again

* undo clean up

* try another format

* clean it up once and for all

* remove(node): remove `mysticeti_use_committed_subdag_digest` feature flag (#3443)

* remove(node): remove `mysticeti_use_committed_subdag_digest` feature flag

* fix(node): remove unused `protocol_config` parameter

* feat(docs) - Add quizzes to Node Operators (#3183)

* Add quizzes to Node Operators

* feat(docs) - Add quizzes developer cryptography (#3063)

* Add quizzes to developer cryptography

* feat(iota): add faucet_amount param to IotaCommand::Start (#3484)

* feat(iota): add faucet_amount param to IotaCommand::Start

* Fix test

* refactor(ci): Add debug logs for turbo flaky builds (#3489)

* refactor(ci): Add debug logs for turbo flaky builds

* install tree

* sudo?

* ignore empty sdk dist folder error

* update

* update

* update

* update

* refactor(ts-sdk): remove wrong package references from tsconfigs (#3490)

* refactor(ci): Add debug logs for turbo flaky builds

* refactor(sdk): Remove typescript sdk reference from ledgerjs-hw-app-iota tsconfig

* install tree

* sudo?

* ignore empty sdk dist folder error

* update

* update

* update

* replace wallet standard reference for bcs in graphql transport

* fix(ci): Remove redundant CI tests. (#3494)

* Remove redundant tests.

* Update .github/workflows/_rust_tests.yml

* fix(wallet-dashboard): add mocked timelocked staked objects with dynamic date (#3364)

* fix(wallet-dashboard): add mocked timelocked staked objects with dynamic date

* fix: update constant and function names

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* fix: ci after mysticeti cleanup (#3507)

* fix: remove mentions of mysticeti-test in ci (#3509)

* chore(CI): Update all action versions (#2429)

* chore(CI): Update all action versions

* dprint

* pin versions

* dprint

* dprint

* fix rust job

* one more thing

* remove(node): remove deprecated `TransactionKind::ChangeEpoch()` (#3452)

* remove(node): remove deprecated `ChangeEpoch` transaction kind

* chore(node): re-generated openrpc, graphql schema and updated tests and snapshots

* chore(node): re-generated some snapshots

* chore(deps): updated iota-rust-sdk to match the changes

* chore(types): Fixed old comment

* chore(rest-api): re-generated openapi.json

* chore(graphql): re-generated graphql-e2e-tests snapshots

* chore(openrpc): re-generated spec

* chore(swarm-config): re-generated snapshots

* chore(graphql-rpc): re-generated schema

* feat(wallet): improve staking flow by allowing full amount stake but display warning on low remainder gas (#3184)

* feat: add staking full amount and fix loaders

* fix: simplyfy gasBudget const

* fix: remove max amount button from stake form

* fix: add warrning for staking near full amount

* fix: conflict in staking card loading indicator

* fix: remove the approximation sign from staking form

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* fix(iota-light-client): Fix tests and conversions (#3430)

* fix(iota-light-client): Fix tests and conversions

* cleanup

* link

* update after added field

* remove print

* fix(iota-protocol-config): remove recompute_has_public_transfer_in_execution flag and related checks, snapshot have been updated (#3446)

* fix(iota-protocol-config): remove recompute_has_public_transfer_in_execution flag and related checks, snapshot have been updated

* fix(iota-rpc-loadgen): link to local-network docs (#3500)

* chore(CI): Fix labeler (#3515)

* chore(CI): Fix labeler

* new format

* use local config

* use default path?

* switch to pull_request to verify

* Revert "switch to pull_request to verify"

This reverts commit 06a3c5d98761ba7446048ebf1dcfdbb3a1f03c5c.

* fix(iota-protocol-config): remove shared_object_deletion flag and related checks, snapshot have been updated (#3434)

* fix(iota-protocol-config): remove shared_object_flag and related checks, snapshot have updated, arg --shared-object-deletion has been removed

* task(docs): Remove Shimmer from move docs (#3385)

* task(docs): remove Shimmer from move docs

* fix: typo

* fix: typo

* fix build

* fix(docs): remove ShimmerEVM from L1 migration docs

---------

Co-authored-by: Levente Pap <[email protected]>

* Fix reconfiguration tests (#3501)

* chore(CI): Update light client checkpoint files (#3519)

* chore(CI): Update light client checkpoint files

* digest update

* chore(consensus-core): move `MockCoreThreadDispatcher` to tests (#3520)

* feat: removed the `enable_coin_deny_list_v2` flag and the related transaction (#3503)

* feat: removed the `enable_coin_deny_list_v2` flag and the related transaction

* feat: the `iota-rust-sdk` version update

* fix(iota-rest-api): openapi.json was updated

* chore(sdk): Update `openapi.json` (#3523)

* Update iota-rust-sdk revision

* Regenerate openapi.json

* feat: renamed `deny_list_v2` to `deny_list_v1`

* feat(iota-framework-snapshot): updated the snapshots

* fix(tooling): Remove duplication in pnpm-workspace (#3530)

* chore(ci): set nextest retries to 1 (#3531)

* refactor(wallet): remove `apps/wallet/src/ui/app/shared/heading/index.tsx` (#3433)

* feat: remove heading component

* fix: cleanup

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* refactor(wallet): remove unused `apps/wallet/src/ui/app/shared/Link.tsx` (#3447)

* refactor(explorer): refactor and improve styles for `AreaGraph` and `TransactionsGraphCard` (#3461)

* fix: refactor and improve styles for AreaGraph and TransactionsGraphCard

* refactor: udpate classes for `GrapthTooltipContent`

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* hotfix(ui-kit): remove unnecessary addon to fix dev mode (#3486)

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* chore(ci): remove nightly narwhal tests (#3532)

* refactor(explorer): rebrand `CopyToClipboard` (#3495)

Co-authored-by: Marc Espin <[email protected]>

* refactor(explorer): remove all around `experimental--id` page (#3511)

Co-authored-by: JCNoguera <[email protected]>

* fix(tests): Improve handling of `node_keypair` in tests. (#3539)

* Improve handling of node_keypair for fullnodes.

* Simplify the fix

* chore(core): cleanup `EpochStartConfiguration` (#3538)

* chore(core): removed old unused EpochStartConfigurationV1 to V5

* chore(core): Rename EpochStartConfigurationV6 to EpochStartConfigurationV1

* chore(core): made some shared object versions non-optional in the EpochStartConfiguration

* chore(core): ignore clippy warning

* fix(iota-execution): digest arg type set to vec<u8> according to authorize_upgrade signature (#3544)

* fix(iota-execution): digest arg type set to vec<u8> accroding to authorize_upgrade signature

* fmt

* feat: removed the prefix `v1` from the deny_list methods

* feat(iota-framework-snapshot): updated the snapshots

* refactor(tooling): remove Shimmer from the TS side (#3493)

* feat: remove from uikit

* feat: remove from wallet

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* fix(wallet): Fix transaction validaton of `signTransaction` (#3272)

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* refactor(wallet): cleanup input components (#3454)

* feat: remove unused compoent

* feat: replace input with the one from the uikit

---------

Co-authored-by: Marc Espin <[email protected]>

* refactor(iota-json-rpc,iota-graphql-rpc): remove filtering on validator APY (#3459)

* refactor(iota-json-rpc): remove upper bound in average apy

* refactor(iota-graphql-rpc): use average_apy_from_exchange_rates

* refactor(iota-graphql-rpc): update schema and snapshot

* refactor: remove `DropdownMenu` (#3534)

Co-authored-by: evavirseda <[email protected]>

* feat(iota-graphql-rpc): expose treasury cap id (#3557)

* refactor(iota-rest-api): disable http2 in client (#3529)

* feat(wallet): prevent layout shifts (#3540)

* chore(iota-indexer): remove IndexerError suffixes (#3306)

* feat: bump iota to v0.4.0 (#3562)

* chore(ci): clean app deploy job names (#3563)

* fix(docs): Remove Redundant Table of Contents from validator-tools Doc (#3190)

* Remove Redundant Table of Contents from validator-tools Doc

* refactor(explorer): remove `Banner` component and replace with `InfoBox` (#3485)

* feat: remove Banner component

* feat: update icon

---------

Co-authored-by: Marc Espin <[email protected]>

* fix(general): Fix turborepo audit ci (#3568)

* chore(consensus): Update deprecated `into_router` call (#3559)

* chore(consensus): Update deprecated `into_router` call

* fmt

* feat(ts-sdk): Sync TS SDK with json/graphql RPC crates (#3573)

* feat(tooling-sdk): Fix update graphql schema script (hardcoded minorVersion)

* feat(tooling-sdk): Sync json/graphql RPC with TS SDK

* feat(tooling-sdk): Simplify version change in update-graphql-schemas

* feat(tooling-sdk): Update Move.lock(s) in typescript e2e tests

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* fix(docs) : Responsiveness of Document Design (#3380)

* Fix Responsiveness of Document Design

* feat(docs) : Feedback Form for documentation (#3327)

* Add Feedback Form Component

* chore(CI): Add nightly build for macOS arm64 (#3166)

* chore(CI): Add nightly build for macOS arm64

* remove extra flag

* use github runners

* refactor to use matrix

* add github token env

* try ssh-agent action

* refactor with release changes

* dprint

* pin ssh-setup-action

* use bundled mysqlclient

* dprint

* move deps around

* dprint

* refactor features

* fix(apps-ui-kit): inconsistent font appearance in some browsers (#3575)

* fix: use font-variant-alternates instead of font-feature-settings

* fix format

* fix(e2e-tests): Fix reconfiguration e2e tests and msim compilation (#3514)

* fix(e2e-tests): Add removal check in execute_remove_validator_tx

* fix(scripts): Set target.'cfg(all())'.rustflags in cargo-simtest

e need to use target.'cfg(all())'.rustflags instead of build.rustflags
because the latter are ignored if any target flags are set.

* chore(scripts): add comment

* fix(iota-storage): msim tests compilation

* fix(iota-benchmark): msim tests compilation

---------

Co-authored-by: muXxer <[email protected]>
Co-authored-by: miker83z <[email protected]>

* chore(node): sort dependencies in Cargo.toml files (#3581)

* chore(*): remove last Error variant suffixes (#3570)

* chore(core-node)!: Cleanup Narwhal related fields in IOTA Framework codebase (Move and Rust) (#3151)

* renamed narwhal_primary_address and narwhal_worker_address

* fixed rustfmt remarks

* fixed more rustfmt remarks

* renamed additional files

* cleaned up comments in move

* started removing worker_address

* Make PubKey naming more sane.

* More renames

* Continue renaming, including missed renames.

* Continue renaming in Move files

* Revert incorrect format

* Cleanup some yaml files

* Fix cargo fmt issues

* addressed fmt issues

* Fix rustfmt

* Cleanup naming

* addressed fmt issues

* addressed clippy errors

* Update crates/iota-config/src/node.rs

Co-authored-by: Thoralf-M <[email protected]>

* Remove unused consensus parameter.

* Address review comments.

* Address review comments and rename missed occurrences.

* Remove worker address from iptables.yaml

* Add a comment explaining `primary_address` field.

* Address review comments and missed renames

* Fix dprint

* Another round of missed renames

* Yet another round of missed renames

* Update manifest.json

* Fix docs

* Regenerate all snapshots

* generated auto-generated files

* Revert graphql auto-generated changes and generate files script

* Update crates/iota-framework/packages/iota-system/sources/validator.move

* fix(iota-graphql-{rpc,e2e-tests}): restore tests (#3572)

* fix(iota-graphql-e2e-tests): update baselines and source files

* fix(iota-graphql-rpc): update schema snapshot

* chore(iota-framework-snapshot): update manifest

* fix(iota-graphql-e2e-tests): update baselines and source files

* chore(iota-graphql-e2e-tests): comment digest resolution in event_connection tests

* chore(swarm-config): re-generated snapshots

---------

Co-authored-by: Hans Moog <[email protected]>
Co-authored-by: Piotr Macek <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
Co-authored-by: Alexander Sporn <[email protected]>
Co-authored-by: Konstantinos Demartinos <[email protected]>

* chore(consensus): cleanup throughput_aware_consensus_submission (#3576)

* Remove throughput_aware_consensus_submission protocol param

* Update openrpc.json

* Fix clippy

* Remove `consensus_throughput_calculator` because it's unused

* Fix cargo check reported errors

* fix(explorer): white background shoring when zooming in or on very large screens (#3594)

* fix(explorer): prevent horizontal scroll in object changes (#3558)

Co-authored-by: Marc Espin <[email protected]>

* refactor(explorer): cleanup classes from PlayPause (#3541)

* refactor(explorer): remove `ui/Divider` (#3542)

* chore(ci): remove simulator-nightly-mysticeti.yml (#3551)

* feat: remove `zklogin_supported_providers` param (#3579)

* fix(iota-json-rpc-tests): Fix unstaking and timelocked_unstaking tests (#3471)

* fix: unstaking tests

* fix: force epochs with cluster reconfiguration

* fix: rename `trigger_reconfiguration` to `force_new_epoch`

* fix: fmt

* fix(apps-backend): crashed apps-backend (#3555)

* fix(apps-backend): remove from package & use compiled part of iota/core.

* fix(apps-backend): revert remove iota/core.

* fix(apps-backend): change vercel config

---------

Co-authored-by: Marc Espin <[email protected]>

* feat(wallet): remove buttonUI component and replace it with uikit (#3453)

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
Co-authored-by: Eugene P. <[email protected]>

* fix(test): Fix iota-core::format::test_format (#3604)

* Fix test-format

* Ran scripts/update_all_snapshots.sh

* feat(explorer): reverse objects link and amount in address objects list (#3548)

* refactor(wallet): remove `Text` component and debris (#3445)

* feat: remove text component, debris and refine some styles

* fix gap

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
Co-authored-by: Marc Espin <[email protected]>

* fix(iota-indexer): get object packages (#3610)

* fix(iota-indexer): get object packages

* fixup! fix(iota-indexer): get object packages

* remove(node): remove `advance_to_highest_supported_protocol_version` feature flag (#3601)

* remove(node): remove `advance_to_highest_supported_protocol_version` feature flag

* fix(node): `test_choose_next_system_packages` needs to be a simtest

* fix(node): add async keyword to `sim_test` test func

* fix(iota-rosetta): fix test_pay_with_gas_budget_fail (#3635)

* chore(*): fix clippy::manual_inspect (#3633)

* chore(CODEOWNERS): refine infra ownership (#3641)

* feat(scripts): add script to sort Cargo.toml dependencies (#3602)

* feat(scripts): add script to sort Cargo.toml dependencies

* feat(workflow): add `cargosort` workflow

* fix(workflow): use correct python command

* feat(scripts): add `--skip-dprint` option

* fix(script): fix getting package name from Cargo.toml

* fix(workflow): manually check the staging area for diffs

* fix(node): format Cargo.toml files

* feat(scripts): add README

* Fix workflow job name

Co-authored-by: Thibault Martinez <[email protected]>

* fix(scripts): address review comments

* fix(workflow): change directory in cargo-sort step

---------

Co-authored-by: Thibault Martinez <[email protected]>

* feat(tooling-sdk): Sync json/graphql rpc schema changes to TS SDK (#3637)

* feat(tooling-sdk): Sync json/graphql rpc schema changes to TS SDK

* fix: replace protocolPubKey with authorityPubKey

---------

Co-authored-by: Begoña Alvarez <[email protected]>

* refactor(wallet): Remove, rebrand, cleanup ButtonOrLink, tooltip, components/menu (#3586)

* feat(tooling-ci): run CI check on pnpm dependency changes. (#3314)

* chore(tooling): remove old frens and domains mentions (#3225)

* refactor(tooling): remove unnecessary built dependencies from turbo scripts (#3467)

* refactor: remove unnecessary built dependencies from turbo scripts

* fix: reduce ui kit content import path to speed up compilation

* chore: remove @storybook/addon-a11y

* fix: remove unnecessary declarations from tsconfigs

* chore: remove unnecessary CI tree debugs on lint

* chore: remove unnecessary no-emit

* chore: fix linter

* revert: noEmit

* replace noEmit with emitDeclarationOnly

---------

Co-authored-by: marc2332 <[email protected]>

* feat(workflows/ledgerjs-hw-app-iota): add ledgernano tests (#2208)

* feat(workflows/ledgerjs-hw-app-iota): add ledgernano tests

* Update .github/workflows/_ledgernano.yml

Co-authored-by: DaughterOfMars <[email protected]>

* Download binary

* oops

* dprint

---------

Co-authored-by: DaughterOfMars <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>

* feat(wallet-dashboard): kickoff apps-ui-kit setup (#3636)

* fix: kickoff apps-ui-kit setup

* fix format

* fix: avoid depending on node_modules

* fix: update import

* fix(iota-e2e-tests): Fix Traffic Control tests (#3545)

* fix(e2e-test): Use ticker instead of sleep in the traffic control tests.

* fix(e2e-test): Reduce the TPS of the client

* fix(e2e-test): Reduce channel capacity to make spam rate more robust

* fix(e2e-test): Reduce spam target rate by half

* fix(test): Fix formatting

* Update crates/iota-e2e-tests/tests/traffic_control_tests.rs

Co-authored-by: muXxer <[email protected]>

* Update crates/iota-e2e-tests/tests/traffic_control_tests.rs

Co-authored-by: muXxer <[email protected]>

* fix: (e2e-test) Remove unused dependency

* test different policy

* fix(e2e-test): Fast fix by adapting TestNConnIP

* Add comments explaining what is happening in the tests.

---------

Co-authored-by: muXxer <[email protected]>
Co-authored-by: Piotr Macek <[email protected]>

* refactor(wallet): cleanup wallet manifest (#3597)

* refactor(wallet): cleanup wallet manifest

* fix: format

* refactor(explorer): update `IotaTokenCard` and remove `ui/Card` (#3516)

* refactor: update `IotaTokenCard` and remove `ui/Card`

* fix: remove testing value

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* refactor(explorer): cleanup `ui/Tooltip` (#3543)

* feat:remove all debris aroung experimental id route

* refactor(explorer): cleanup Tooltip & unnecessary components

* fix: issues with merge

---------

Co-authored-by: evavirseda <[email protected]>
Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* fix(tooling-ci): Fix prod deploys of vercel (#3651)

* fix(tooling-ci): Pass `isDevelop` from `hierarchy.yml` to `_vercel_deploy.yml`

* pass ref

* type: string!!!

* feat(scripts): add script to update generated files (#3423)

* feat(scripts): add script to update generated files

* fix(scripts): resolve the target folder for docker

* fix(scripts): file permissions

* fix(scripts): fix permission issues with different users

* fix(scripts): add missing build-args

* feat(scripts): add `generate-schemas-lib.ts`

* feat(scripts): add steps to check typescript builds

* fix(scripts): address review comments

* fix(scripts): spaces instead of tab in the index file

* fix: remove bottom padding for buttons in mnemonic screen (#3624)

* fix(tooling-ci): Do not check for specific app diffs for prod deploys (#3659)

* chore(typed-store): Remove unused `?Sized` bounds (#3644)

* feat(wallet-dashboard): style welcome page (#3643)

* fix: kickoff apps-ui-kit setup

* fix format

* feat: style welcome page

* fix: avoid depending on node_modules

* fix format

* feat: add disableRemotePlayback

* fix: update import

* refactor(wallet): remove `apps/wallet/src/ui/app/shared/forms/FormField.tsx` (#3466)

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* Remove consensus README.md (#3663)

* fix(docs): Move all images to the static folder (#2359)

* fix(devx): Moved all doc images to docs/static/img and all homepage images to docs/site/static/img. Deleted unused images.

* fix(devx): fix img path and typo indexer-functions.mdx

* fix(devx): fix index images

* fix(devx): img url

* refactor(wallet): cleanup old classes (#3642)

* refactor(wallet): cleanup old classes

* fix: missing gap class

* fix(docs/standards): minor docs refactoring (#3584)

* fix(docs/getting-started): minor refactoring, remove duplicates (#3626)

* feat: remove deepbook (#3654)

* feat: remove deepbook

* feat(iota-framework-snapshot): the snapshots were regenerated

* feat(iota-graphql-e2e-tests): update baseline

* fix: update schemas and baselines

* fix(docs): remove deepbook mentions

* fix(explorer/wallet): unify iota token logo (#3554)

* fix: iota token logo color

* minor fixes

* fix icon styles and sizes

* fix card bgcolor

* feat: update fallback icons

* polish icon

* chore(*): clippy::needless_borrows_for_generic_args (#3639)

* fixup! Merge branch 'develop' into sc-platform/issue-3589

* fixup! fixup! Merge branch 'develop' into sc-platform/issue-3589

* fixup! Merge branch 'develop' into sc-platform/issue-3589

* fixup! fixup! Merge branch 'develop' into sc-platform/issue-3589

* fix(iota-indexer): update README

---------

Signed-off-by: Eugene Panteleymonchuk <[email protected]>
Co-authored-by: Valerii Reutov <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
Co-authored-by: /alex/ <[email protected]>
Co-authored-by: Eugene P. <[email protected]>
Co-authored-by: Bran <[email protected]>
Co-authored-by: Gino <[email protected]>
Co-authored-by: evavirseda <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Mario <[email protected]>
Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
Co-authored-by: Marc Espin <[email protected]>
Co-authored-by: muXxer <[email protected]>
Co-authored-by: vivekjain23 <[email protected]>
Co-authored-by: Mirko Zichichi <[email protected]>
Co-authored-by: Pavlo Botnar <[email protected]>
Co-authored-by: Konstantinos Demartinos <[email protected]>
Co-authored-by: Levente Pap <[email protected]>
Co-authored-by: DaughterOfMars <[email protected]>
Co-authored-by: Alexander Sporn <[email protected]>
Co-authored-by: Piotr Macek <[email protected]>
Co-authored-by: Samuel Rufinatscha <[email protected]>
Co-authored-by: Ching-Hua (Vivian) Lin <[email protected]>
Co-authored-by: JCNoguera <[email protected]>
Co-authored-by: Bing-Yang <[email protected]>
Co-authored-by: tomxey <[email protected]>
Co-authored-by: Hans Moog <[email protected]>
Co-authored-by: Hans Moog <[email protected]>
Co-authored-by: Lucas Tortora <[email protected]>
Co-authored-by: muXxer <[email protected]>
Co-authored-by: miker83z <[email protected]>
Co-authored-by: Daria Dziubałtowska <[email protected]>
  • Loading branch information
1 parent a6d44ff commit 9181dce
Show file tree
Hide file tree
Showing 21 changed files with 21,347 additions and 213 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/apps-backend.deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Deploy for Apps Backend

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.APPS_BACKEND_VERCEL_PROJECT_ID }}

on:
workflow_dispatch:
workflow_call:
inputs:
isProd:
type: boolean
required: true

jobs:
deploy:
permissions:
contents: read
pull-requests: write
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # pin@v4
- name: Install Nodejs
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # pin@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Prod Flag
id: setup_prod_flags
run: |
if [[ "${{ inputs.isProd }}" = "true" ]]; then
echo "PROD_FLAG=--prod" >> $GITHUB_OUTPUT
echo "ENVIRONMENT=production" >> $GITHUB_OUTPUT
echo "VERCEL_OUTPUT=" >> $GITHUB_OUTPUT
else
echo "PROD_FLAG=" >> $GITHUB_OUTPUT
echo "ENVIRONMENT=preview" >> $GITHUB_OUTPUT
echo "VERCEL_OUTPUT=> vercel_output.txt" >> $GITHUB_OUTPUT
fi
- name: Turbo Cache
id: turbo-cache
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # pin@v4
with:
path: node_modules/.cache/turbo
key: turbo-${{ runner.os }}-${{ github.sha }}
restore-keys: |
turbo-${{ runner.os }}-
- name: Install Vercel CLI
run: pnpm add --global vercel@canary
- name: Pull Vercel Env variables (network configs)
run: vercel pull --yes --environment=${{steps.setup_prod_flags.outputs.ENVIRONMENT}} --token=${{ secrets.VERCEL_TOKEN }}
- name: Build the Apps Backend
run: pnpm apps-backend build
- name: Build Vercel Project Artifacts
run: vercel build ${{steps.setup_prod_flags.outputs.PROD_FLAG}} --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy ${{steps.setup_prod_flags.outputs.PROD_FLAG}} --prebuilt --token=${{ secrets.VERCEL_TOKEN }} ${{ steps.setup_prod_flags.outputs.VERCEL_OUTPUT }}
- name: Extract Deploy URL
id: deploy_url
if: ${{ inputs.isProd == false }}
run: echo "DEPLOY_URL=$(cat vercel_output.txt | awk 'END{print}')" >> $GITHUB_OUTPUT
- name: Comment on pull request
if: ${{ inputs.isProd == false }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # pin@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const DEPLOY_URL = '${{ steps.deploy_url.outputs.DEPLOY_URL }}'
const COMMIT_SHA = '${{ github.event.pull_request.head.sha }}'
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `This pull request has been deployed to Vercel.\n\n\nLatest commit: ${COMMIT_SHA}\n\n:white_check_mark: Preview: ${DEPLOY_URL}`
})
68 changes: 68 additions & 0 deletions .github/workflows/apps-ui-kit.deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Deploy for Apps UI Kit Storybook

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.APPS_UI_KIT_VERCEL_PROJECT_ID }}

on:
workflow_dispatch:
workflow_call:
inputs:
isProd:
type: boolean
required: true

jobs:
deploy:
permissions:
contents: read
pull-requests: write
runs-on: [self-hosted]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # pin@v4
- name: Install Nodejs
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # pin@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Prod Flag
id: setup_prod_flags
run: |
if [[ "${{ inputs.isProd }}" = "true" ]]; then
echo "PROD_FLAG=--prod" >> $GITHUB_OUTPUT
echo "ENVIRONMENT=production" >> $GITHUB_OUTPUT
echo "VERCEL_OUTPUT=" >> $GITHUB_OUTPUT
else
echo "PROD_FLAG=" >> $GITHUB_OUTPUT
echo "ENVIRONMENT=preview" >> $GITHUB_OUTPUT
echo "VERCEL_OUTPUT=> vercel_output.txt" >> $GITHUB_OUTPUT
fi
- name: Install Vercel CLI
run: pnpm add --global vercel@canary
- name: Pull Vercel Environment Information
run: vercel pull --cwd ./apps/ui-kit --yes --environment=${{steps.setup_prod_flags.outputs.ENVIRONMENT}} --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build ${{steps.setup_prod_flags.outputs.PROD_FLAG}} --cwd ./apps/ui-kit --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --cwd ./apps/ui-kit ${{steps.setup_prod_flags.outputs.PROD_FLAG}} --prebuilt --token=${{ secrets.VERCEL_TOKEN }} ${{ steps.setup_prod_flags.outputs.VERCEL_OUTPUT }}
- name: Extract Deploy URL
id: deploy_url
if: ${{ inputs.isProd == false }}
run: echo "DEPLOY_URL=$(cat vercel_output.txt | awk 'END{print}')" >> $GITHUB_OUTPUT
- name: Comment on pull request
if: ${{ inputs.isProd == false }}
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # pin@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const DEPLOY_URL = '${{ steps.deploy_url.outputs.DEPLOY_URL }}'
const COMMIT_SHA = '${{ github.event.pull_request.head.sha }}'
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `This pull request has been deployed to Vercel.\n\n\nLatest commit: ${COMMIT_SHA}\n\n:white_check_mark: Preview: ${DEPLOY_URL}`
})
50 changes: 50 additions & 0 deletions .github/workflows/apps-wallet-rc.build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build Wallet App (RC)

on:
workflow_dispatch:
inputs:
rc_version:
description: "The RC numeric version (X.Y.Z.RC)"
type: number
required: true

env:
DEFAULT_NETWORK: ${{ secrets.WALLET_RC_DEFAULT_NETWORK }}
IOTA_NETWORKS: ${{ secrets.WALLET_RC_IOTA_NETWORKS }}
APPS_BACKEND: ${{ secrets.WALLET_RC_APPS_BACKEND }}
RC_VERSION: "${{ github.event.inputs.rc_version }}"

jobs:
wallet-rc-build:
permissions:
contents: read
runs-on: [self-hosted]
steps:
- name: Checking out ${{ env.iota_branch }}
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # [email protected]
- name: Install Nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # [email protected]
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@3cf273023a0dda27efcd3164bdfb51908dd46a5b # [email protected]
with:
path: apps/wallet
- name: Create artifact name
shell: bash
run: |
export artifact_name="iota-wallet-${{ steps.package-version.outputs.current-version }}-rc.${{ env.RC_VERSION }}"
echo "artifact_name=${artifact_name}" >> $GITHUB_ENV
- name: Build Wallet
run: pnpm wallet build:rc
- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4
with:
name: ${{ env.artifact_name }}
path: |
./apps/wallet/dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Modifications Copyright (c) 2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

#[test_only]
#[test_only, allow(deprecated_usage)]
module iota::coin_tests {
use iota::coin::{Self, Coin};
use iota::pay;
Expand Down
40 changes: 20 additions & 20 deletions crates/iota-graphql-e2e-tests/tests/packages/friends.exp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ Response: {
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": {
Expand Down Expand Up @@ -101,11 +106,6 @@ Response: {
}
}
}
},
{
"outputState": {
"asMovePackage": null
}
}
]
}
Expand Down Expand Up @@ -133,14 +133,14 @@ Response: {
},
{
"outputState": {
"asMovePackage": {
"module": null
}
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": null
"asMovePackage": {
"module": null
}
}
}
]
Expand All @@ -166,7 +166,7 @@ Response: {
"effects",
"objectChanges",
"nodes",
1,
2,
"outputState",
"asMovePackage",
"module",
Expand Down Expand Up @@ -194,6 +194,11 @@ Response: {
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": {
Expand Down Expand Up @@ -269,11 +274,6 @@ Response: {
}
}
}
},
{
"outputState": {
"asMovePackage": null
}
}
]
}
Expand Down Expand Up @@ -309,6 +309,11 @@ Response: {
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": null
}
},
{
"outputState": {
"asMovePackage": {
Expand Down Expand Up @@ -344,11 +349,6 @@ Response: {
}
}
}
},
{
"outputState": {
"asMovePackage": null
}
}
]
}
Expand Down
10 changes: 6 additions & 4 deletions crates/iota-indexer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The crate provides following tests currently:
- rpc tests (see [rpc-tests](tests/rpc-tests/main.rs))

> [!NOTE]
> rpc tests which relies on postgres for every test it applies migrations, we need to run tests sequencially to avoid errors
> tests which relies on postgres for every test it applies migrations, we need to run tests sequencially to avoid errors
```sh
# run tests requiring only postgres integration
Expand All @@ -110,15 +110,17 @@ cargo test --features shared_test_runtime
For a better testing experience is possible to use [nextest](https://nexte.st/)

> [!NOTE]
> rpc tests which rely on a shared runtime are not supported with `nextest`
> rpc tests which rely on a shared runtime are not supported with `nextest`.
>
> This is because `cargo nextest` process-per-test execution model makes extremely difficult to share state and resources between tests.
>
> On the other hand `cargo test` does not run tests in separate processes by default. This means that tests can share state and resources.
```sh
# run tests requiring only postgres integration
cargo nextest run --features pg_integration --test-threads 1
```

```
## Steps to run locally with TiDB (experimental)

### Prerequisites
Expand Down
19 changes: 12 additions & 7 deletions crates/iota-indexer/src/models/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,18 @@ impl StoredTransaction {
))
})?;

let transaction = options
.show_input
.then(|| {
let sender_signed_data = self.try_into_sender_signed_data()?;
IotaTransactionBlock::try_from(sender_signed_data, module)
})
.transpose()?;
let transaction = if options.show_input {
let sender_signed_data = self.try_into_sender_signed_data()?;
let tx_block = IotaTransactionBlock::try_from_with_package_resolver(
sender_signed_data,
package_resolver.clone(),
tx_digest,
)
.await?;
Some(tx_block)
} else {
None
};

let effects = options
.show_effects
Expand Down
Loading

0 comments on commit 9181dce

Please sign in to comment.