Skip to content

Commit

Permalink
fix claimable balance id
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed May 16, 2024
1 parent 303d63f commit 5d5c190
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ XDRGEN_VERSION=ac1653599b97b298e72c0186b5685bffa120b6aa
# XDRGEN_LOCAL=1
XDRGEN_TYPES_CUSTOM_STR_IMPL_CURR=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12,ClaimableBalanceId
XDRGEN_TYPES_CUSTOM_STR_IMPL_NEXT=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12,ClaimableBalanceId
XDRGEN_TYPES_CUSTOM_JSONSCHEMA_IMPL_CURR=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12
XDRGEN_TYPES_CUSTOM_JSONSCHEMA_IMPL_NEXT=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12
XDRGEN_TYPES_CUSTOM_JSONSCHEMA_IMPL_CURR=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12,ClaimableBalanceId
XDRGEN_TYPES_CUSTOM_JSONSCHEMA_IMPL_NEXT=PublicKey,AccountId,MuxedAccount,MuxedAccountMed25519,SignerKey,SignerKeyEd25519SignedPayload,NodeId,ScAddress,AssetCode,AssetCode4,AssetCode12,ClaimableBalanceId

all: build test

Expand Down
1 change: 0 additions & 1 deletion src/curr/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14752,7 +14752,6 @@ impl WriteXdr for ClaimableBalanceIdType {
all(feature = "serde", feature = "alloc"),
derive(serde_with::SerializeDisplay, serde_with::DeserializeFromStr)
)]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
#[allow(clippy::large_enum_variant)]
pub enum ClaimableBalanceId {
ClaimableBalanceIdTypeV0(Hash),
Expand Down
1 change: 1 addition & 0 deletions src/curr/jsonschema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ impl_json_schema_string!(ScAddress);
impl_json_schema_string!(AssetCode);
impl_json_schema_string!(AssetCode4);
impl_json_schema_string!(AssetCode12);
impl_json_schema_string!(ClaimableBalanceId);
1 change: 0 additions & 1 deletion src/next/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14752,7 +14752,6 @@ impl WriteXdr for ClaimableBalanceIdType {
all(feature = "serde", feature = "alloc"),
derive(serde_with::SerializeDisplay, serde_with::DeserializeFromStr)
)]
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
#[allow(clippy::large_enum_variant)]
pub enum ClaimableBalanceId {
ClaimableBalanceIdTypeV0(Hash),
Expand Down
1 change: 1 addition & 0 deletions src/next/jsonschema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ impl_json_schema_string!(ScAddress);
impl_json_schema_string!(AssetCode);
impl_json_schema_string!(AssetCode4);
impl_json_schema_string!(AssetCode12);
impl_json_schema_string!(ClaimableBalanceId);

0 comments on commit 5d5c190

Please sign in to comment.