OpenZeppelin/openzeppelin-labs

Unify naming for logic contract in all projects

maraoz opened this issue · 4 comments

We use various different names for the same concept:

  • implementation contract
  • behavior contract
  • logic contract

all of these refer to the contract the proxy delegates calls to. Unify naming in all repos. Also check and update posts in https://blog.zeppelinos.org/

My personal preference among these 3 names is "behavior".

-1 to behavior, I'd prefer implementation or backing implementation

Decided for "logic contract", from Elena's post. Will move forward replacing all occurrences.

Just discussed this offline with @leanthebean, and we decided to only use the term "logic contract" in the context of talking about proxies. All other references (i.e in the cli help, and introductory guides) should be just "contracts" to avoid unnecessary confusion.

Implemented in user-facing texts on cli in zeppelinos/zos-cli#215. Moving the issue to next milestone to refactor internal naming too (didn't want to change API so close to releasing)