diff --git a/nucypher/policy/conditions/context.py b/nucypher/policy/conditions/context.py index dd950d8bcf..4ed6aa44e9 100644 --- a/nucypher/policy/conditions/context.py +++ b/nucypher/policy/conditions/context.py @@ -21,7 +21,7 @@ CONTEXT_REGEX = re.compile(":[a-zA-Z_][a-zA-Z0-9_]*") USER_ADDRESS_SCHEMES = { - USER_ADDRESS_CONTEXT: None, # TODO either EIP712 or EIP4361 for now, but should use the default that is eventually decided (likely EIP4361) + USER_ADDRESS_CONTEXT: None, # TODO either EIP712 or EIP4361 for now, but should use the default that is eventually decided (likely EIP4361) - #tdec/178 USER_ADDRESS_EIP712_CONTEXT: EvmAuth.AuthScheme.EIP712.value, USER_ADDRESS_EIP4361_CONTEXT: EvmAuth.AuthScheme.EIP4361.value, USER_ADDRESS_EIP4361_EXTERNAL_CONTEXT: EvmAuth.AuthScheme.EIP4361.value, diff --git a/tests/unit/conditions/test_context.py b/tests/unit/conditions/test_context.py index 5546f56de7..9b5d5540f3 100644 --- a/tests/unit/conditions/test_context.py +++ b/tests/unit/conditions/test_context.py @@ -148,7 +148,7 @@ def test_user_address_context_invalid_typed_data( ), indirect=["valid_user_address_auth_message"], ) -def test_user_address_context_unexpected_scheme_data( +def test_user_address_context_variable_with_incompatible_auth_message( context_variable_name, valid_user_address_auth_message ): # scheme in message is unexpected for context variable name