Good works done by a man in the state of grace are meritorious. That is the clear teaching of scripture.
An unjustified man's works are not. Nobody can merit the grace of justification by his own works or effort. Justification is always the result of God's gracious choice.
Meaning by the grace of God you become good enough in character to be justified, and merit entering Heaven, either in this life or in mythical RC (EOs tend to differ on what Tradition teaches) Purgatory. Which in principle is akin to salvation under the Law, except that attaining this standard of perfection is said to be by God's grace. Which is in contrast to Biblical salvation by grace as I described, and how one is conformed to Christ.