File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 uses : step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
2626 with :
2727 egress-policy : audit
28- allowed-endpoints : >
29- coresite-atl.mm.fcix.net:443
3028
3129 - name : Checkout repository
3230 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
3131
3232- Refactored contract_delete_transaction example to use Client.from_env. (#1823 )
3333
34- ### Added
35-
3634### Docs
3735
3836- docs: Improving formatting will make the pull request process clearer. (` #1858 ` )
Original file line number Diff line number Diff line change @@ -83,15 +83,10 @@ def test_integration_contract_info_query_can_execute(env):
8383 assert info .auto_renew_period == auto_renew_period , "Auto renew period mismatch"
8484
8585 # Verify staking_info is populated (contracts default to no staking)
86- staking = info .staking_info
87- if staking is None :
88- raise AssertionError ("staking_info should not be None" )
89- if staking .staked_account_id is not None :
90- raise AssertionError ("staked_account_id should be None by default" )
91- if staking .staked_node_id is not None :
92- raise AssertionError ("staked_node_id should be None by default" )
93- if staking .decline_reward is not False :
94- raise AssertionError ("decline_reward should be False by default" )
86+ assert info .staking_info is not None , "staking_info should not be None"
87+ assert info .staking_info .staked_account_id is None , "staked_account_id should be None by default"
88+ assert info .staking_info .staked_node_id is None , "staked_node_id should be None by default"
89+ assert info .staking_info .decline_reward is False , "decline_reward should be False by default"
9590
9691
9792@pytest .mark .integration
You can’t perform that action at this time.
0 commit comments