version: 2
models:
  - name: core__fact_blocks
    description: Records of all blocks that have occurred on Osmosis, dating back to the genesis block. 
    columns:
      - name: BLOCK_ID
        description: "{{ doc('block_id') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: BLOCK_TIMESTAMP
        description: "{{ doc('block_timestamp') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: CHAIN_ID
        description: "{{ doc('chain_id') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: TX_COUNT
        description: "{{ doc('tx_count') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: PROPOSER_ADDRESS
        description: "{{ doc('proposer_address') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: VALIDATOR_HASH
        description: "{{ doc('validator_hash') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist