huginn_callisto_network_agent 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4b37c85b89f42d88795533af510d0b3ff2d94320edf3a936ef3379d9806e40c
4
- data.tar.gz: 5bc21dbf0277a3d8733f01d436ea3f18e4ffe542f3863c9b7a6450fc43e8538a
3
+ metadata.gz: ddf73844731bf49acb35b590bd5fc598ba67df6c4db546d568f3b9269f9c8760
4
+ data.tar.gz: f8163830f26b16c7708f460730ec769894e3c0ffb1c4d3516cac77a29cc5e87a
5
5
  SHA512:
6
- metadata.gz: 54e5207f1838f243149ff25d0daca6b01fb3372677f94299ee93bb44995685a6680c62611adcae92125518c65dcc59ae3b4f1fd1e9c5e1905cebb82a4daf5f41
7
- data.tar.gz: d2e011b3a03779e631e534400cea895b2cfa0d777f12ce85887e883fea4974f8868571cdb968947476e958435f176d7b96f93c622dd6e40aa8fa0919cdc8e75f
6
+ metadata.gz: 8dca5bdb5fb8f7bf1e7abd0aec593d8ea2ff08109ccdc80049cb495ace905ed53f12698747fce034d6bdac2a831c8d9cc44edeaf45a0f566923fd3543d02a57e
7
+ data.tar.gz: 8550c96cb4af5d1990e500fffa0558c1576f8df51645074481573fd5dc28fb1e19ba71666076c9598f66f189d24c98b1a8119f4a9273142c504ae01461451986
@@ -69,8 +69,8 @@ module Agents
69
69
  form_configurable :round, type: :string
70
70
  form_configurable :wallet_dest, type: :string
71
71
  form_configurable :filter_for_method_id, type: :string
72
- form_configurable :first_block, type: :number
73
- form_configurable :last_block, type: :number
72
+ form_configurable :first_block, type: :string
73
+ form_configurable :last_block, type: :string
74
74
  def validate_options
75
75
  errors.add(:base, "type has invalid value: should be 'get_balance' 'net_peerCount' 'net_version' 'eth_protocolVersion' 'eth_gasPrice' 'eth_getTransactionCount' 'stake_reward_clo' 'get_tokens_balance' 'eth_getBlockByNumber' 'soy_farming_soy_clo_pending_rewards' 'soy_farming_soy_cloe_pending_rewards' 'stake_reward_soy' 'soy_farming_soy_btt_pending_rewards' 'soy_cs_pending_rewards' 'clo_sendtx' 'get_tx_by_address_with_filter' 'start_cs_clo' 'withdraw_cs_clo' 'get_tx_stats'") if interpolated['type'].present? && !%w(get_balance net_peerCount net_version eth_protocolVersion eth_gasPrice eth_getTransactionCount stake_reward_clo get_tokens_balance eth_getBlockByNumber soy_farming_soy_clo_pending_rewards soy_farming_soy_cloe_pending_rewards stake_reward_soy soy_farming_soy_btt_pending_rewards soy_cs_pending_rewards clo_sendtx get_tx_by_address_with_filter start_cs_clo withdraw_cs_clo get_tx_stats).include?(interpolated['type'])
76
76
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huginn_callisto_network_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Germain