Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add remove_pub_address, remove_all_pub_addresses to the FIO protocol #96

Merged

Conversation

edrotthoff
Copy link
Contributor

This PR adds new endpoints and fio.address actions for remove_pub_address remove_all_pub_address.
contract actions are readdress remalladdr.

remove all is limited to NOT removing the FIO public address, this decision was made by the product team to eliminate the possibility of not being able to decrypt content in requests associated with the FIO Address.

remove pub address allows the removal of the FIO public address, though this is NOT recommended..

REQUIRED FEES
the remove_pub_address, and remove_all_pub_addresses fees must be added to the launcher. These have been added as a PR to the fio.devtools develop branch, merge this PR before testing these changes or fee errors will result.

TESTING performed..
the SOAPUI tests were run, all testes pass.
a new address was added to the Adam@dapixdev address on a local dev launched FIO blockchain.
this new address was removed using the remove_pub_address call.
the address was re-added.
then remove all pub addresses was run, and the results verified that only the FIO Address remained.

FURTHER TESTING CONSIDERATIONS

  1. test with more addresses present, be sure to remove the last, and entries in the middle of the list of addresses using remove_pub_address.
    2)test error scenarios on both calls, when one or more of the specified addresses do not exist.

@edrotthoff edrotthoff changed the title Feature/ed fioprotocol fio develop 04082020 add remove_pub_address, remove_all_pub_addresses to the FIO protocol Apr 27, 2020
@adsorptionenthalpy adsorptionenthalpy merged commit a3ea0bd into develop Apr 27, 2020
@ericbutz ericbutz added this to the v1.1.0 milestone May 6, 2020
@ericbutz ericbutz added the enhancement New feature or request label May 6, 2020
@ericbutz ericbutz modified the milestones: v2.0, Contracts v2.1 Jul 29, 2020
@ericbutz
Copy link
Contributor

misterleet pushed a commit that referenced this pull request Jul 15, 2022
Additional OBT and reqeust getter tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants