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 the soroban branch into the main branch. #766

Closed
wants to merge 121 commits into from
Closed

Merge the soroban branch into the main branch. #766

wants to merge 121 commits into from

Conversation

overcat
Copy link
Member

@overcat overcat commented Aug 27, 2023

No description provided.

…er the XDR file is finalized, we will consider adding the corresponding support in xdrgen.
… issues.

After the XDR file is finalized, we will consider adding the corresponding support in xdrgen.
deps: update XDR for Soroban support (unstable)
feat: add support for Soroban RPC server. [WIP]
add support for Soroban Preview 10
# Conflicts:
#	.github/workflows/continuous-integration-workflow.yml
#	poetry.lock
#	pyproject.toml
#	stellar_sdk/__version__.py
#	stellar_sdk/fee_bump_transaction_envelope.py
#	stellar_sdk/strkey.py
#	stellar_sdk/transaction_envelope.py
#	stellar_sdk/xdr/account_entry.py
#	stellar_sdk/xdr/account_entry_ext.py
#	stellar_sdk/xdr/account_entry_extension_v1.py
#	stellar_sdk/xdr/account_entry_extension_v1_ext.py
#	stellar_sdk/xdr/account_entry_extension_v2.py
#	stellar_sdk/xdr/account_entry_extension_v2_ext.py
#	stellar_sdk/xdr/account_entry_extension_v3.py
#	stellar_sdk/xdr/account_flags.py
#	stellar_sdk/xdr/account_id.py
#	stellar_sdk/xdr/account_merge_result.py
#	stellar_sdk/xdr/account_merge_result_code.py
#	stellar_sdk/xdr/allow_trust_op.py
#	stellar_sdk/xdr/allow_trust_result.py
#	stellar_sdk/xdr/allow_trust_result_code.py
#	stellar_sdk/xdr/alpha_num12.py
#	stellar_sdk/xdr/alpha_num4.py
#	stellar_sdk/xdr/asset.py
#	stellar_sdk/xdr/asset_code.py
#	stellar_sdk/xdr/asset_code12.py
#	stellar_sdk/xdr/asset_code4.py
#	stellar_sdk/xdr/asset_type.py
#	stellar_sdk/xdr/auth.py
#	stellar_sdk/xdr/auth_cert.py
#	stellar_sdk/xdr/authenticated_message.py
#	stellar_sdk/xdr/authenticated_message_v0.py
#	stellar_sdk/xdr/begin_sponsoring_future_reserves_op.py
#	stellar_sdk/xdr/begin_sponsoring_future_reserves_result.py
#	stellar_sdk/xdr/begin_sponsoring_future_reserves_result_code.py
#	stellar_sdk/xdr/bucket_entry.py
#	stellar_sdk/xdr/bucket_entry_type.py
#	stellar_sdk/xdr/bucket_metadata.py
#	stellar_sdk/xdr/bucket_metadata_ext.py
#	stellar_sdk/xdr/bump_sequence_op.py
#	stellar_sdk/xdr/bump_sequence_result.py
#	stellar_sdk/xdr/bump_sequence_result_code.py
#	stellar_sdk/xdr/change_trust_asset.py
#	stellar_sdk/xdr/change_trust_op.py
#	stellar_sdk/xdr/change_trust_result.py
#	stellar_sdk/xdr/change_trust_result_code.py
#	stellar_sdk/xdr/claim_atom.py
#	stellar_sdk/xdr/claim_atom_type.py
#	stellar_sdk/xdr/claim_claimable_balance_op.py
#	stellar_sdk/xdr/claim_claimable_balance_result.py
#	stellar_sdk/xdr/claim_claimable_balance_result_code.py
#	stellar_sdk/xdr/claim_liquidity_atom.py
#	stellar_sdk/xdr/claim_offer_atom.py
#	stellar_sdk/xdr/claim_offer_atom_v0.py
#	stellar_sdk/xdr/claim_predicate.py
#	stellar_sdk/xdr/claim_predicate_type.py
#	stellar_sdk/xdr/claimable_balance_entry.py
#	stellar_sdk/xdr/claimable_balance_entry_ext.py
#	stellar_sdk/xdr/claimable_balance_entry_extension_v1.py
#	stellar_sdk/xdr/claimable_balance_entry_extension_v1_ext.py
#	stellar_sdk/xdr/claimable_balance_flags.py
#	stellar_sdk/xdr/claimable_balance_id.py
#	stellar_sdk/xdr/claimable_balance_id_type.py
#	stellar_sdk/xdr/claimant.py
#	stellar_sdk/xdr/claimant_type.py
#	stellar_sdk/xdr/claimant_v0.py
#	stellar_sdk/xdr/clawback_claimable_balance_op.py
#	stellar_sdk/xdr/clawback_claimable_balance_result.py
#	stellar_sdk/xdr/clawback_claimable_balance_result_code.py
#	stellar_sdk/xdr/clawback_op.py
#	stellar_sdk/xdr/clawback_result.py
#	stellar_sdk/xdr/clawback_result_code.py
#	stellar_sdk/xdr/create_account_op.py
#	stellar_sdk/xdr/create_account_result.py
#	stellar_sdk/xdr/create_account_result_code.py
#	stellar_sdk/xdr/create_claimable_balance_op.py
#	stellar_sdk/xdr/create_claimable_balance_result.py
#	stellar_sdk/xdr/create_claimable_balance_result_code.py
#	stellar_sdk/xdr/create_passive_sell_offer_op.py
#	stellar_sdk/xdr/crypto_key_type.py
#	stellar_sdk/xdr/curve25519_public.py
#	stellar_sdk/xdr/curve25519_secret.py
#	stellar_sdk/xdr/data_entry.py
#	stellar_sdk/xdr/data_entry_ext.py
#	stellar_sdk/xdr/data_value.py
#	stellar_sdk/xdr/decorated_signature.py
#	stellar_sdk/xdr/dont_have.py
#	stellar_sdk/xdr/duration.py
#	stellar_sdk/xdr/encrypted_body.py
#	stellar_sdk/xdr/end_sponsoring_future_reserves_result.py
#	stellar_sdk/xdr/end_sponsoring_future_reserves_result_code.py
#	stellar_sdk/xdr/envelope_type.py
#	stellar_sdk/xdr/error.py
#	stellar_sdk/xdr/error_code.py
#	stellar_sdk/xdr/extension_point.py
#	stellar_sdk/xdr/fee_bump_transaction.py
#	stellar_sdk/xdr/fee_bump_transaction_envelope.py
#	stellar_sdk/xdr/fee_bump_transaction_ext.py
#	stellar_sdk/xdr/fee_bump_transaction_inner_tx.py
#	stellar_sdk/xdr/hash.py
#	stellar_sdk/xdr/hash_id_preimage.py
#	stellar_sdk/xdr/hash_id_preimage_operation_id.py
#	stellar_sdk/xdr/hash_id_preimage_revoke_id.py
#	stellar_sdk/xdr/hello.py
#	stellar_sdk/xdr/hmac_sha256_key.py
#	stellar_sdk/xdr/hmac_sha256_mac.py
#	stellar_sdk/xdr/inflation_payout.py
#	stellar_sdk/xdr/inflation_result.py
#	stellar_sdk/xdr/inflation_result_code.py
#	stellar_sdk/xdr/inner_transaction_result.py
#	stellar_sdk/xdr/inner_transaction_result_ext.py
#	stellar_sdk/xdr/inner_transaction_result_pair.py
#	stellar_sdk/xdr/inner_transaction_result_result.py
#	stellar_sdk/xdr/int32.py
#	stellar_sdk/xdr/int64.py
#	stellar_sdk/xdr/ip_addr_type.py
#	stellar_sdk/xdr/ledger_bounds.py
#	stellar_sdk/xdr/ledger_close_meta.py
#	stellar_sdk/xdr/ledger_close_meta_v0.py
#	stellar_sdk/xdr/ledger_close_value_signature.py
#	stellar_sdk/xdr/ledger_entry.py
#	stellar_sdk/xdr/ledger_entry_change.py
#	stellar_sdk/xdr/ledger_entry_change_type.py
#	stellar_sdk/xdr/ledger_entry_changes.py
#	stellar_sdk/xdr/ledger_entry_data.py
#	stellar_sdk/xdr/ledger_entry_ext.py
#	stellar_sdk/xdr/ledger_entry_extension_v1.py
#	stellar_sdk/xdr/ledger_entry_extension_v1_ext.py
#	stellar_sdk/xdr/ledger_entry_type.py
#	stellar_sdk/xdr/ledger_header.py
#	stellar_sdk/xdr/ledger_header_ext.py
#	stellar_sdk/xdr/ledger_header_extension_v1.py
#	stellar_sdk/xdr/ledger_header_extension_v1_ext.py
#	stellar_sdk/xdr/ledger_header_flags.py
#	stellar_sdk/xdr/ledger_header_history_entry.py
#	stellar_sdk/xdr/ledger_header_history_entry_ext.py
#	stellar_sdk/xdr/ledger_key.py
#	stellar_sdk/xdr/ledger_key_account.py
#	stellar_sdk/xdr/ledger_key_claimable_balance.py
#	stellar_sdk/xdr/ledger_key_data.py
#	stellar_sdk/xdr/ledger_key_liquidity_pool.py
#	stellar_sdk/xdr/ledger_key_offer.py
#	stellar_sdk/xdr/ledger_key_trust_line.py
#	stellar_sdk/xdr/ledger_scp_messages.py
#	stellar_sdk/xdr/ledger_upgrade.py
#	stellar_sdk/xdr/ledger_upgrade_type.py
#	stellar_sdk/xdr/liabilities.py
#	stellar_sdk/xdr/liquidity_pool_constant_product_parameters.py
#	stellar_sdk/xdr/liquidity_pool_deposit_op.py
#	stellar_sdk/xdr/liquidity_pool_deposit_result.py
#	stellar_sdk/xdr/liquidity_pool_deposit_result_code.py
#	stellar_sdk/xdr/liquidity_pool_entry.py
#	stellar_sdk/xdr/liquidity_pool_entry_body.py
#	stellar_sdk/xdr/liquidity_pool_entry_constant_product.py
#	stellar_sdk/xdr/liquidity_pool_parameters.py
#	stellar_sdk/xdr/liquidity_pool_type.py
#	stellar_sdk/xdr/liquidity_pool_withdraw_op.py
#	stellar_sdk/xdr/liquidity_pool_withdraw_result.py
#	stellar_sdk/xdr/liquidity_pool_withdraw_result_code.py
#	stellar_sdk/xdr/manage_buy_offer_op.py
#	stellar_sdk/xdr/manage_buy_offer_result.py
#	stellar_sdk/xdr/manage_buy_offer_result_code.py
#	stellar_sdk/xdr/manage_data_op.py
#	stellar_sdk/xdr/manage_data_result.py
#	stellar_sdk/xdr/manage_data_result_code.py
#	stellar_sdk/xdr/manage_offer_effect.py
#	stellar_sdk/xdr/manage_offer_success_result.py
#	stellar_sdk/xdr/manage_offer_success_result_offer.py
#	stellar_sdk/xdr/manage_sell_offer_op.py
#	stellar_sdk/xdr/manage_sell_offer_result.py
#	stellar_sdk/xdr/manage_sell_offer_result_code.py
#	stellar_sdk/xdr/memo.py
#	stellar_sdk/xdr/memo_type.py
#	stellar_sdk/xdr/message_type.py
#	stellar_sdk/xdr/muxed_account.py
#	stellar_sdk/xdr/muxed_account_med25519.py
#	stellar_sdk/xdr/node_id.py
#	stellar_sdk/xdr/offer_entry.py
#	stellar_sdk/xdr/offer_entry_ext.py
#	stellar_sdk/xdr/offer_entry_flags.py
#	stellar_sdk/xdr/operation.py
#	stellar_sdk/xdr/operation_body.py
#	stellar_sdk/xdr/operation_meta.py
#	stellar_sdk/xdr/operation_result.py
#	stellar_sdk/xdr/operation_result_code.py
#	stellar_sdk/xdr/operation_result_tr.py
#	stellar_sdk/xdr/operation_type.py
#	stellar_sdk/xdr/path_payment_strict_receive_op.py
#	stellar_sdk/xdr/path_payment_strict_receive_result.py
#	stellar_sdk/xdr/path_payment_strict_receive_result_code.py
#	stellar_sdk/xdr/path_payment_strict_receive_result_success.py
#	stellar_sdk/xdr/path_payment_strict_send_op.py
#	stellar_sdk/xdr/path_payment_strict_send_result.py
#	stellar_sdk/xdr/path_payment_strict_send_result_code.py
#	stellar_sdk/xdr/path_payment_strict_send_result_success.py
#	stellar_sdk/xdr/payment_op.py
#	stellar_sdk/xdr/payment_result.py
#	stellar_sdk/xdr/payment_result_code.py
#	stellar_sdk/xdr/peer_address.py
#	stellar_sdk/xdr/peer_address_ip.py
#	stellar_sdk/xdr/peer_stat_list.py
#	stellar_sdk/xdr/peer_stats.py
#	stellar_sdk/xdr/pool_id.py
#	stellar_sdk/xdr/precondition_type.py
#	stellar_sdk/xdr/preconditions.py
#	stellar_sdk/xdr/preconditions_v2.py
#	stellar_sdk/xdr/price.py
#	stellar_sdk/xdr/public_key.py
#	stellar_sdk/xdr/public_key_type.py
#	stellar_sdk/xdr/revoke_sponsorship_op.py
#	stellar_sdk/xdr/revoke_sponsorship_op_signer.py
#	stellar_sdk/xdr/revoke_sponsorship_result.py
#	stellar_sdk/xdr/revoke_sponsorship_result_code.py
#	stellar_sdk/xdr/revoke_sponsorship_type.py
#	stellar_sdk/xdr/scp_ballot.py
#	stellar_sdk/xdr/scp_envelope.py
#	stellar_sdk/xdr/scp_history_entry.py
#	stellar_sdk/xdr/scp_history_entry_v0.py
#	stellar_sdk/xdr/scp_nomination.py
#	stellar_sdk/xdr/scp_quorum_set.py
#	stellar_sdk/xdr/scp_statement.py
#	stellar_sdk/xdr/scp_statement_confirm.py
#	stellar_sdk/xdr/scp_statement_externalize.py
#	stellar_sdk/xdr/scp_statement_pledges.py
#	stellar_sdk/xdr/scp_statement_prepare.py
#	stellar_sdk/xdr/scp_statement_type.py
#	stellar_sdk/xdr/send_more.py
#	stellar_sdk/xdr/sequence_number.py
#	stellar_sdk/xdr/set_options_op.py
#	stellar_sdk/xdr/set_options_result.py
#	stellar_sdk/xdr/set_options_result_code.py
#	stellar_sdk/xdr/set_trust_line_flags_op.py
#	stellar_sdk/xdr/set_trust_line_flags_result.py
#	stellar_sdk/xdr/set_trust_line_flags_result_code.py
#	stellar_sdk/xdr/signature.py
#	stellar_sdk/xdr/signature_hint.py
#	stellar_sdk/xdr/signed_survey_request_message.py
#	stellar_sdk/xdr/signed_survey_response_message.py
#	stellar_sdk/xdr/signer.py
#	stellar_sdk/xdr/signer_key.py
#	stellar_sdk/xdr/signer_key_ed25519_signed_payload.py
#	stellar_sdk/xdr/signer_key_type.py
#	stellar_sdk/xdr/simple_payment_result.py
#	stellar_sdk/xdr/sponsorship_descriptor.py
#	stellar_sdk/xdr/stellar_message.py
#	stellar_sdk/xdr/stellar_value.py
#	stellar_sdk/xdr/stellar_value_ext.py
#	stellar_sdk/xdr/stellar_value_type.py
#	stellar_sdk/xdr/string32.py
#	stellar_sdk/xdr/string64.py
#	stellar_sdk/xdr/survey_message_command_type.py
#	stellar_sdk/xdr/survey_request_message.py
#	stellar_sdk/xdr/survey_response_body.py
#	stellar_sdk/xdr/survey_response_message.py
#	stellar_sdk/xdr/threshold_indexes.py
#	stellar_sdk/xdr/thresholds.py
#	stellar_sdk/xdr/time_bounds.py
#	stellar_sdk/xdr/time_point.py
#	stellar_sdk/xdr/topology_response_body_v0.py
#	stellar_sdk/xdr/transaction.py
#	stellar_sdk/xdr/transaction_envelope.py
#	stellar_sdk/xdr/transaction_ext.py
#	stellar_sdk/xdr/transaction_history_entry.py
#	stellar_sdk/xdr/transaction_history_entry_ext.py
#	stellar_sdk/xdr/transaction_history_result_entry.py
#	stellar_sdk/xdr/transaction_history_result_entry_ext.py
#	stellar_sdk/xdr/transaction_meta.py
#	stellar_sdk/xdr/transaction_meta_v1.py
#	stellar_sdk/xdr/transaction_meta_v2.py
#	stellar_sdk/xdr/transaction_result.py
#	stellar_sdk/xdr/transaction_result_code.py
#	stellar_sdk/xdr/transaction_result_ext.py
#	stellar_sdk/xdr/transaction_result_meta.py
#	stellar_sdk/xdr/transaction_result_pair.py
#	stellar_sdk/xdr/transaction_result_result.py
#	stellar_sdk/xdr/transaction_result_set.py
#	stellar_sdk/xdr/transaction_set.py
#	stellar_sdk/xdr/transaction_signature_payload.py
#	stellar_sdk/xdr/transaction_signature_payload_tagged_transaction.py
#	stellar_sdk/xdr/transaction_v0.py
#	stellar_sdk/xdr/transaction_v0_envelope.py
#	stellar_sdk/xdr/transaction_v0_ext.py
#	stellar_sdk/xdr/transaction_v1_envelope.py
#	stellar_sdk/xdr/trust_line_asset.py
#	stellar_sdk/xdr/trust_line_entry.py
#	stellar_sdk/xdr/trust_line_entry_ext.py
#	stellar_sdk/xdr/trust_line_entry_extension_v2.py
#	stellar_sdk/xdr/trust_line_entry_extension_v2_ext.py
#	stellar_sdk/xdr/trust_line_entry_v1.py
#	stellar_sdk/xdr/trust_line_entry_v1_ext.py
#	stellar_sdk/xdr/trust_line_flags.py
#	stellar_sdk/xdr/uint256.py
#	stellar_sdk/xdr/uint32.py
#	stellar_sdk/xdr/uint64.py
#	stellar_sdk/xdr/upgrade_entry_meta.py
#	stellar_sdk/xdr/upgrade_type.py
#	stellar_sdk/xdr/value.py
@codecov
Copy link

codecov bot commented Aug 27, 2023

Codecov Report

Merging #766 (b6714a9) into main (259ae05) will decrease coverage by 0.61%.
The diff coverage is 89.57%.

❗ Current head b6714a9 differs from pull request most recent head 91cc4fd. Consider uploading reports for the commit 91cc4fd to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #766      +/-   ##
==========================================
- Coverage   99.26%   98.65%   -0.61%     
==========================================
  Files         233      248      +15     
  Lines       11355    12385    +1030     
==========================================
+ Hits        11271    12218     +947     
- Misses         84      167      +83     
Flag Coverage Δ
unittests 98.65% <89.57%> (-0.61%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
stellar_sdk/account.py 100.00% <ø> (ø)
stellar_sdk/base_server.py 98.59% <ø> (-0.02%) ⬇️
...dk/call_builder/base/base_accounts_call_builder.py 100.00% <ø> (ø)
..._sdk/call_builder/base/base_assets_call_builder.py 100.00% <ø> (ø)
stellar_sdk/call_builder/base/base_call_builder.py 100.00% <ø> (ø)
...ilder/base/base_claimable_balances_call_builder.py 100.00% <ø> (ø)
...ar_sdk/call_builder/base/base_data_call_builder.py 100.00% <ø> (ø)
...sdk/call_builder/base/base_effects_call_builder.py 100.00% <ø> (ø)
...k/call_builder/base/base_fee_stats_call_builder.py 100.00% <ø> (ø)
...sdk/call_builder/base/base_ledgers_call_builder.py 100.00% <ø> (ø)
... and 124 more

... and 28 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants