Skip to content

Commit

Permalink
Preview 10 support tests fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Edwin Steven Guayacan <EdwinGuayacan@users.noreply.github.com>
  • Loading branch information
Odraxs and EdwinGuayacan committed Jul 17, 2023
1 parent 40f3c0a commit c00b9ed
Show file tree
Hide file tree
Showing 119 changed files with 847 additions and 3,550 deletions.
126 changes: 63 additions & 63 deletions lib/xdr/transactions/operation_body.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,88 +12,88 @@ defmodule StellarBase.XDR.OperationBody do

alias StellarBase.XDR.{
OperationType,
CreateAccountOp,
PaymentOp,
PathPaymentStrictReceiveOp,
ManageSellOfferOp,
CreatePassiveSellOfferOp,
SetOptionsOp,
ChangeTrustOp,
AllowTrustOp,
CreateAccount,
Payment,
PathPaymentStrictReceive,
ManageSellOffer,
CreatePassiveSellOffer,
SetOptions,
ChangeTrust,
AllowTrust,
MuxedAccount,
Void,
ManageDataOp,
BumpSequenceOp,
ManageBuyOfferOp,
PathPaymentStrictSendOp,
CreateClaimableBalanceOp,
ClaimClaimableBalanceOp,
BeginSponsoringFutureReservesOp,
RevokeSponsorshipOp,
ClawbackOp,
ClawbackClaimableBalanceOp,
SetTrustLineFlagsOp,
LiquidityPoolDepositOp,
LiquidityPoolWithdrawOp,
ManageData,
BumpSequence,
ManageBuyOffer,
PathPaymentStrictSend,
CreateClaimableBalance,
ClaimClaimableBalance,
BeginSponsoringFutureReserves,
RevokeSponsorship,
Clawback,
ClawbackClaimableBalance,
SetTrustLineFlags,
LiquidityPoolDeposit,
LiquidityPoolWithdraw,
InvokeHostFunctionOp,
BumpFootprintExpirationOp,
RestoreFootprintOp
}

@arms [
CREATE_ACCOUNT: CreateAccountOp,
PAYMENT: PaymentOp,
PATH_PAYMENT_STRICT_RECEIVE: PathPaymentStrictReceiveOp,
MANAGE_SELL_OFFER: ManageSellOfferOp,
CREATE_PASSIVE_SELL_OFFER: CreatePassiveSellOfferOp,
SET_OPTIONS: SetOptionsOp,
CHANGE_TRUST: ChangeTrustOp,
ALLOW_TRUST: AllowTrustOp,
CREATE_ACCOUNT: CreateAccount,
PAYMENT: Payment,
PATH_PAYMENT_STRICT_RECEIVE: PathPaymentStrictReceive,
MANAGE_SELL_OFFER: ManageSellOffer,
CREATE_PASSIVE_SELL_OFFER: CreatePassiveSellOffer,
SET_OPTIONS: SetOptions,
CHANGE_TRUST: ChangeTrust,
ALLOW_TRUST: AllowTrust,
ACCOUNT_MERGE: MuxedAccount,
INFLATION: Void,
MANAGE_DATA: ManageDataOp,
BUMP_SEQUENCE: BumpSequenceOp,
MANAGE_BUY_OFFER: ManageBuyOfferOp,
PATH_PAYMENT_STRICT_SEND: PathPaymentStrictSendOp,
CREATE_CLAIMABLE_BALANCE: CreateClaimableBalanceOp,
CLAIM_CLAIMABLE_BALANCE: ClaimClaimableBalanceOp,
BEGIN_SPONSORING_FUTURE_RESERVES: BeginSponsoringFutureReservesOp,
MANAGE_DATA: ManageData,
BUMP_SEQUENCE: BumpSequence,
MANAGE_BUY_OFFER: ManageBuyOffer,
PATH_PAYMENT_STRICT_SEND: PathPaymentStrictSend,
CREATE_CLAIMABLE_BALANCE: CreateClaimableBalance,
CLAIM_CLAIMABLE_BALANCE: ClaimClaimableBalance,
BEGIN_SPONSORING_FUTURE_RESERVES: BeginSponsoringFutureReserves,
END_SPONSORING_FUTURE_RESERVES: Void,
REVOKE_SPONSORSHIP: RevokeSponsorshipOp,
CLAWBACK: ClawbackOp,
CLAWBACK_CLAIMABLE_BALANCE: ClawbackClaimableBalanceOp,
SET_TRUST_LINE_FLAGS: SetTrustLineFlagsOp,
LIQUIDITY_POOL_DEPOSIT: LiquidityPoolDepositOp,
LIQUIDITY_POOL_WITHDRAW: LiquidityPoolWithdrawOp,
REVOKE_SPONSORSHIP: RevokeSponsorship,
CLAWBACK: Clawback,
CLAWBACK_CLAIMABLE_BALANCE: ClawbackClaimableBalance,
SET_TRUST_LINE_FLAGS: SetTrustLineFlags,
LIQUIDITY_POOL_DEPOSIT: LiquidityPoolDeposit,
LIQUIDITY_POOL_WITHDRAW: LiquidityPoolWithdraw,
INVOKE_HOST_FUNCTION: InvokeHostFunctionOp,
BUMP_FOOTPRINT_EXPIRATION: BumpFootprintExpirationOp,
RESTORE_FOOTPRINT: RestoreFootprintOp
]

@type value ::
CreateAccountOp.t()
| PaymentOp.t()
| PathPaymentStrictReceiveOp.t()
| ManageSellOfferOp.t()
| CreatePassiveSellOfferOp.t()
| SetOptionsOp.t()
| ChangeTrustOp.t()
| AllowTrustOp.t()
CreateAccount.t()
| Payment.t()
| PathPaymentStrictReceive.t()
| ManageSellOffer.t()
| CreatePassiveSellOffer.t()
| SetOptions.t()
| ChangeTrust.t()
| AllowTrust.t()
| MuxedAccount.t()
| Void.t()
| ManageDataOp.t()
| BumpSequenceOp.t()
| ManageBuyOfferOp.t()
| PathPaymentStrictSendOp.t()
| CreateClaimableBalanceOp.t()
| ClaimClaimableBalanceOp.t()
| BeginSponsoringFutureReservesOp.t()
| RevokeSponsorshipOp.t()
| ClawbackOp.t()
| ClawbackClaimableBalanceOp.t()
| SetTrustLineFlagsOp.t()
| LiquidityPoolDepositOp.t()
| LiquidityPoolWithdrawOp.t()
| ManageData.t()
| BumpSequence.t()
| ManageBuyOffer.t()
| PathPaymentStrictSend.t()
| CreateClaimableBalance.t()
| ClaimClaimableBalance.t()
| BeginSponsoringFutureReserves.t()
| RevokeSponsorship.t()
| Clawback.t()
| ClawbackClaimableBalance.t()
| SetTrustLineFlags.t()
| LiquidityPoolDeposit.t()
| LiquidityPoolWithdraw.t()
| InvokeHostFunctionOp.t()
| BumpFootprintExpirationOp.t()
| RestoreFootprintOp.t()
Expand Down
2 changes: 1 addition & 1 deletion lib/xdr/transactions/operations/allow_trust.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule StellarBase.XDR.Operations.AllowTrust do
defmodule StellarBase.XDR.AllowTrust do
@moduledoc """
Representation of Stellar `AllowTrust` type.
"""
Expand Down
74 changes: 0 additions & 74 deletions lib/xdr/transactions/operations/allow_trust_op.ex

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule StellarBase.XDR.Operations.BeginSponsoringFutureReserves do
defmodule StellarBase.XDR.BeginSponsoringFutureReserves do
@moduledoc """
Representation of Stellar `BeginSponsoringFutureReserves` type.
"""
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion lib/xdr/transactions/operations/bump_sequence.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule StellarBase.XDR.Operations.BumpSequence do
defmodule StellarBase.XDR.BumpSequence do
@moduledoc """
Representation of Stellar `BumpSequence` type.
"""
Expand Down
66 changes: 0 additions & 66 deletions lib/xdr/transactions/operations/bump_sequence_op.ex

This file was deleted.

2 changes: 1 addition & 1 deletion lib/xdr/transactions/operations/change_trust.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
defmodule StellarBase.XDR.Operations.ChangeTrust do
defmodule StellarBase.XDR.ChangeTrust do
@moduledoc """
Representation of Stellar `ChangeTrust` type.
"""
Expand Down
Loading

0 comments on commit c00b9ed

Please sign in to comment.