Skip to content

Commit

Permalink
fix properties of broadcasted declare transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
cicr99 committed Oct 26, 2023
1 parent adb111d commit ff53057
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions rpc/types_broadcast_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@ type BroadcastInvokev1Txn struct {
type BroadcastDeclareV1Txn struct {
Type TransactionType `json:"type"`
// SenderAddress the address of the account contract sending the declaration transaction
SenderAddress *felt.Felt `json:"sender_address"`
MaxFee *felt.Felt `json:"max_fee"`
Version TransactionVersion `json:"version"`
Signature []*felt.Felt `json:"signature"`
Nonce *felt.Felt `json:"nonce"`
DeprecatedContractClass `json:"contract_class"`
SenderAddress *felt.Felt `json:"sender_address"`
MaxFee *felt.Felt `json:"max_fee"`
Version NumAsHex `json:"version"`
Signature []*felt.Felt `json:"signature"`
Nonce *felt.Felt `json:"nonce"`
ContractClass DeprecatedContractClass `json:"contract_class"`
}
type BroadcastDeclareV2Txn struct {
Type TransactionType `json:"type"`
// SenderAddress the address of the account contract sending the declaration transaction
SenderAddress *felt.Felt `json:"sender_address"`
CompiledClassHash *felt.Felt `json:"compiled_class_hash"`
MaxFee *felt.Felt `json:"max_fee"`
Version TransactionVersion `json:"version"`
Signature []*felt.Felt `json:"signature"`
Nonce *felt.Felt `json:"nonce"`
ContractClass `json:"contract_class"`
SenderAddress *felt.Felt `json:"sender_address"`
CompiledClassHash *felt.Felt `json:"compiled_class_hash"`
MaxFee *felt.Felt `json:"max_fee"`
Version NumAsHex `json:"version"`
Signature []*felt.Felt `json:"signature"`
Nonce *felt.Felt `json:"nonce"`
ContractClass ContractClass `json:"contract_class"`
}

type BroadcastDeployAccountTxn struct {
Expand Down

0 comments on commit ff53057

Please sign in to comment.