generated/stellar/stellar_value.rb in stellar-base-0.5.0 vs generated/stellar/stellar_value.rb in stellar-base-0.6.0
- old
+ new
@@ -12,11 +12,12 @@
#
# // upgrades to apply to the previous ledger (usually empty)
# // this is a vector of encoded 'LedgerUpgrade' so that nodes can drop
# // unknown steps during consensus if needed.
# // see notes below on 'LedgerUpgrade' for more detail
-# UpgradeType upgrades<4>;
+# // max size is dictated by number of upgrade types (+ room for future)
+# UpgradeType upgrades<6>;
#
# // reserved for future use
# union switch (int v)
# {
# case 0:
@@ -32,9 +33,9 @@
autoload :Ext
attribute :tx_set_hash, Hash
attribute :close_time, Uint64
- attribute :upgrades, XDR::VarArray[UpgradeType, 4]
+ attribute :upgrades, XDR::VarArray[UpgradeType, 6]
attribute :ext, Ext
end
end