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

1298 acl access control list augmentation #1303

Merged
merged 15 commits into from
Oct 18, 2024

Conversation

afa7789
Copy link
Collaborator

@afa7789 afa7789 commented Oct 10, 2024

Adding new features to ACL to make easier to use.

  • list of ACL data, to debug.
  • README updated with new info.
  • added new functions to create a history of transactions in acl.
  • at normal acl operations added feature to add transactions to this history table.
  • option at acl mode CLI to add new config variable value to the config table.
  • added at startup a log of last X acl transactions changes ( 10 being the default ).

@cla-bot cla-bot bot added the cla-signed label Oct 10, 2024
@afa7789 afa7789 linked an issue Oct 10, 2024 that may be closed by this pull request
@afa7789 afa7789 force-pushed the 1298-acl-access-control-list-augmentation branch from 72830bd to 49dc0ca Compare October 11, 2024 20:25
@afa7789 afa7789 marked this pull request as ready for review October 11, 2024 20:27
@afa7789
Copy link
Collaborator Author

afa7789 commented Oct 11, 2024

image image

Copy link
Collaborator

@hexoscott hexoscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, but we need to address the logging thing before we can merge

cmd/acl/main.go Show resolved Hide resolved
@hexoscott
Copy link
Collaborator

Hi @afa7789 - are we considering this good to review again? Did adding the log level stuff back in help with the v3 logging library problem you were seeing?

@afa7789 afa7789 force-pushed the 1298-acl-access-control-list-augmentation branch from 8be071a to a422207 Compare October 17, 2024 14:48
revitteth
revitteth previously approved these changes Oct 18, 2024
@revitteth revitteth force-pushed the 1298-acl-access-control-list-augmentation branch from a422207 to 5ca4db5 Compare October 18, 2024 12:36
hexoscott
hexoscott previously approved these changes Oct 18, 2024
@afa7789 afa7789 force-pushed the 1298-acl-access-control-list-augmentation branch from 5ca4db5 to 5c7b977 Compare October 18, 2024 13:34
@afa7789 afa7789 dismissed stale reviews from hexoscott and revitteth via c1506b6 October 18, 2024 14:30
also function can be reused by other parts of the code.
added call to the function for it to log in parts of the code, this will be reviewed.
creating functions to interact with table as binary, and other helper functions that we may need.
…r logging imports

changing log structure, cause it's failing.

changed the function at txpool so I can get the string to put in the log at the CLI level since it doesn't log too.
fixing update method which was exiting on panic, also improved the function of insert to be able to insert an array improving code quality
…n debugging// looking for it.

not an issue for usage, only a improvement.
it could either remove or add the policy at the same time someone else was checking for another scenario

to fix I added the adding flow, to updating/changing tx before making the update with the same asserting checks for correct adding.
@afa7789 afa7789 force-pushed the 1298-acl-access-control-list-augmentation branch from c1506b6 to 9e56240 Compare October 18, 2024 15:24
@hexoscott hexoscott enabled auto-merge (squash) October 18, 2024 15:33
@hexoscott hexoscott merged commit e2d187b into zkevm Oct 18, 2024
13 checks passed
@hexoscott hexoscott deleted the 1298-acl-access-control-list-augmentation branch October 18, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ACL: Access Control List - Augmentation
3 participants